]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- add missing files to python-rpm
authorArtur Frysiak <artur@frysiak.net>
Tue, 4 Jan 2005 15:49:26 +0000 (15:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.612

rpm.spec

index 78455cd2f5d4087d3a3f6053cf3b30ceee29cbbf..6b4c0fea743d3cbf1e0d390c7fc62fc278fe5206 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -843,6 +843,9 @@ for a in librpm-%{sover}.so librpmdb-%{sover}.so librpmio-%{sover}.so ; do
        ln -s /%{_lib}/$a $RPM_BUILD_ROOT%{_libdir}/$a
 done
 
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+
 for f in $RPM_BUILD_ROOT%{_datadir}/locale/{en_RN,eu_ES,gl,hu,ro,wa,zh,zh_CN.GB2312}/LC_MESSAGES/rpm.mo ; do
        [ "`file $f | sed -e 's/.*,//' -e 's/message.*//'`" -le 1 ] && rm -f $f
 done
@@ -1062,6 +1065,8 @@ find %{_rpmlibdir} -name '*-linux' -type l | xargs rm -f
 %files -n python-rpm
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/*.so
+%attr(755,root,root) %{py_sitedir}/rpm/*.so
+%attr(755,root,root) %{py_sitedir}/rpm/*.py[co]
 %attr(755,root,root) %{py_sitedir}/rpmdb/*.so
 %{py_sitedir}/rpmdb/*.py*
 %endif
This page took 0.045542 seconds and 4 git commands to generate.