packages: PackageKit/PackageKit.spec - yum paths are noarch - compile yum b...
glen
glen at pld-linux.org
Thu Jan 27 10:10:41 CET 2011
Author: glen Date: Thu Jan 27 09:10:41 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- yum paths are noarch
- compile yum backend files
---- Files affected:
packages/PackageKit:
PackageKit.spec (1.64 -> 1.65)
---- Diffs:
================================================================
Index: packages/PackageKit/PackageKit.spec
diff -u packages/PackageKit/PackageKit.spec:1.64 packages/PackageKit/PackageKit.spec:1.65
--- packages/PackageKit/PackageKit.spec:1.64 Thu Jan 27 09:21:55 2011
+++ packages/PackageKit/PackageKit.spec Thu Jan 27 10:10:36 2011
@@ -318,6 +318,14 @@
rm -f $RPM_BUILD_ROOT%{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit{Apt,Test}Backend.service
rm -rf $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/test_spawn
+%if %{with yum}
+# yumBackend.py can't be compiled (invoked directly), other should be compiled
+%py_comp $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum
+%py_ocomp $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum
+rm -f $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum/yum{Comps,Filter}.py
+rm -f $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum/yumBackend.py[co]
+%endif
+
%py_postclean
%find_lang %{name}
@@ -383,13 +391,13 @@
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/Yum.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf
%attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_yum.so
-%{_libdir}/yum-plugins/refresh-packagekit.py
+%{_prefix}/lib/yum-plugins/refresh-packagekit.py
%dir %{_datadir}/PackageKit/helpers/yum
%{_datadir}/PackageKit/helpers/yum/licenses.txt
%{_datadir}/PackageKit/helpers/yum/yum-comps-groups.conf
-%{_datadir}/PackageKit/helpers/yum/yumBackend.py
-%{_datadir}/PackageKit/helpers/yum/yumComps.py
-%{_datadir}/PackageKit/helpers/yum/yumFilter.py
+%attr(755,root,root) %{_datadir}/PackageKit/helpers/yum/yumBackend.py
+%{_datadir}/PackageKit/helpers/yum/yumComps.py[co]
+%{_datadir}/PackageKit/helpers/yum/yumFilter.py[co]
%endif
%files libs
@@ -467,6 +475,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.65 2011/01/27 09:10:36 glen
+- yum paths are noarch
+- compile yum backend files
+
Revision 1.64 2011/01/27 08:21:55 glen
- yum rt deps
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/PackageKit/PackageKit.spec?r1=1.64&r2=1.65&f=u
More information about the pld-cvs-commit
mailing list