Author: glen Date: Tue Apr 13 12:43:11 2010 GMT Module: packages Tag: HEAD ---- Log message: - update url, R python-psyco according to webpage - unify python build, executable shared library
---- Files affected: packages/xmldiff: xmldiff.spec (1.14 -> 1.15) ---- Diffs: ================================================================ Index: packages/xmldiff/xmldiff.spec diff -u packages/xmldiff/xmldiff.spec:1.14 packages/xmldiff/xmldiff.spec:1.15 --- packages/xmldiff/xmldiff.spec:1.14 Fri May 29 23:17:10 2009 +++ packages/xmldiff/xmldiff.spec Tue Apr 13 14:43:06 2010 @@ -13,8 +13,10 @@ Source0: ftp://ftp.logilab.org/pub/xmldiff/%{name}-%{version}.tar.gz # Source0-md5: f4764f87f393ad421d9631dd926d7572 Patch0: %{name}-scope.patch -URL: http://www.logilab.org/projects/xmldiff/view +URL: http://www.logilab.org/859/ BuildRequires: python-devel +BuildRequires: rpmbuild(macros) >= 1.219 +Requires: python-psyco %pyrequires_eq python-modules BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -35,19 +37,19 @@ #%patch0 -p1 %build -CFLAGS="%{rpmcflags}" -export CFLAGS -python setup.py build +export CFLAGS="%{rpmcflags}" +%{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{py_sitedir}} - -python setup.py install \ +%{__python} setup.py install \ --root=$RPM_BUILD_ROOT \ --optimize=2 -install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 -find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \; + +%py_postclean + +cp -a man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 rm -r $RPM_BUILD_ROOT%{py_sitedir}/%{name}/test @@ -57,20 +59,29 @@ %files %defattr(644,root,root,755) %doc README* TODO xsl doc/*.txt -%attr(755,root,root) %{_bindir}/* -%{_mandir}/man1/* -%{py_sitedir}/xmldiff +%attr(755,root,root) %{_bindir}/xmldiff +%attr(755,root,root) %{_bindir}/xmlrev +%{_mandir}/man1/xmldiff.1* +%{_mandir}/man1/xmlrev.1* %dir %{_datadir}/sgml/stylesheet %dir %{_datadir}/sgml/stylesheet/%{name} %{_datadir}/sgml/stylesheet/%{name}/docbook_rev.xsl %{_datadir}/sgml/stylesheet/%{name}/xmlrev.xslt +%dir %{py_sitedir}/xmldiff +%{py_sitedir}/xmldiff/*.py[co] +%attr(755,root,root) %{py_sitedir}/xmldiff/maplookup.so + %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <[email protected]> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.15 2010/04/13 12:43:06 glen +- update url, R python-psyco according to webpage +- unify python build, executable shared library + Revision 1.14 2009/05/29 21:17:10 amateja - updated to 0.6.9 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/xmldiff/xmldiff.spec?r1=1.14&r2=1.15&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
