SPECS: python-docutils.spec - force roman module installation

wrobell wrobell at pld-linux.org
Thu Oct 16 21:47:05 CEST 2008


Author: wrobell                      Date: Thu Oct 16 19:47:05 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- force roman module installation

---- Files affected:
SPECS:
   python-docutils.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/python-docutils.spec
diff -u SPECS/python-docutils.spec:1.18 SPECS/python-docutils.spec:1.19
--- SPECS/python-docutils.spec:1.18	Thu Oct 16 21:09:11 2008
+++ SPECS/python-docutils.spec	Thu Oct 16 21:47:00 2008
@@ -64,7 +64,12 @@
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -name "*.py" | xargs rm
+# force installation of roman.py, which won't be installed
+# if another version of docutils is installed
+install extras/roman.py $RPM_BUILD_ROOT/%{py_sitescriptdir}/roman.py
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_postclean
 
 cd $RPM_BUILD_ROOT%{_bindir}
 for f in *.py; do
@@ -80,6 +85,7 @@
 %attr(755,root,root) %{_bindir}/*
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/%{module}*.egg*
+%{py_sitescriptdir}/roman.py[co]
 %dir %{_examplesdir}/%{name}-%{version}
 %{_examplesdir}/%{name}-%{version}/*
 
@@ -89,6 +95,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2008/10/16 19:47:00  wrobell
+- force roman module installation
+
 Revision 1.18  2008/10/16 19:09:11  wrobell
 - ver. 0.5
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-docutils.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list