rpms/tinyerp/devel tinyerp.spec,1.39,1.40

Dan Horák sharkcz at fedoraproject.org
Fri Dec 5 19:51:58 UTC 2008


Author: sharkcz

Update of /cvs/extras/rpms/tinyerp/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14991

Modified Files:
	tinyerp.spec 
Log Message:
* Fri Dec  5 2008 Dan Horák <dan[at]danny.cz> 4.2.3.4-3
- add PyXML as dependency for the server subpackage (Resolves: #474674)
- add basic support for customizations stored in addons/custom (Resolves: #466089)



Index: tinyerp.spec
===================================================================
RCS file: /cvs/extras/rpms/tinyerp/devel/tinyerp.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- tinyerp.spec	29 Nov 2008 17:21:20 -0000	1.39
+++ tinyerp.spec	5 Dec 2008 19:51:27 -0000	1.40
@@ -4,7 +4,7 @@
 
 Name:		tinyerp
 Version:	4.2.3.4
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	GPLv2+
 Group:		Applications/Productivity
 Summary:	Open Source ERP Client
@@ -42,7 +42,7 @@
 Summary:	Open Source ERP Server
 Requires:	pygtk2, pygtk2-libglade, pytz
 Requires:	python-psycopg, libxslt-python
-Requires:	postgresql-python, libxml2-python
+Requires:	postgresql-python, libxml2-python, PyXML
 Requires:	libxslt-python, python-imaging
 Requires:	python-psycopg, python-reportlab
 Requires:	graphviz, pyparsing, postgresql-server
@@ -120,6 +120,16 @@
 # remove installed docs
 rm -r $RPM_BUILD_ROOT/%{_defaultdocdir}
 
+# add basic support for customizations in addons/custom
+mkdir $RPM_BUILD_ROOT%{_sysconfdir}/tinyerp-server
+pushd $RPM_BUILD_ROOT%{python_sitelib}/tinyerp-server/addons/custom
+for f in *.{py,xml,xsl,rml}
+do
+	mv $f $RPM_BUILD_ROOT%{_sysconfdir}/tinyerp-server
+	ln -s ../../../../../../../%{_sysconfdir}/tinyerp-server/$f $f
+done
+popd
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -144,6 +154,9 @@
 %{_sysconfdir}/rc.d/init.d/tinyerp-server
 %config(noreplace) %{_sysconfdir}/tinyerp-server.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/tinyerp-server
+%dir %{_sysconfdir}/tinyerp-server
+%config(noreplace) %{_sysconfdir}/tinyerp-server/*
+%exclude %{_sysconfdir}/tinyerp-server/*.py?
 %{_bindir}/tinyerp-server
 %{python_sitelib}/tinyerp-server/
 %{python_sitelib}/tinyerp_server*
@@ -177,6 +190,10 @@
 
 
 %changelog
+* Fri Dec  5 2008 Dan Horák <dan[at]danny.cz> 4.2.3.4-3
+- add PyXML as dependency for the server subpackage (Resolves: #474674)
+- add basic support for customizations stored in addons/custom (Resolves: #466089)
+
 * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 4.2.3.4-2
 - Rebuild for Python 2.6
 




More information about the fedora-extras-commits mailing list