rpms/system-config-printer/devel system-config-printer.spec, 1.152, 1.153

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Mon Dec 17 13:25:55 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/system-config-printer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20718

Modified Files:
	system-config-printer.spec 
Log Message:
* Mon Dec 17 2007 Tim Waugh <twaugh at redhat.com> 0.7.78-3
- Install Python egg-info file.



Index: system-config-printer.spec
===================================================================
RCS file: /cvs/pkgs/rpms/system-config-printer/devel/system-config-printer.spec,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -r1.152 -r1.153
--- system-config-printer.spec	17 Dec 2007 12:44:03 -0000	1.152
+++ system-config-printer.spec	17 Dec 2007 13:25:11 -0000	1.153
@@ -1,4 +1,7 @@
 %define pycups_version 1.9.32
+%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
 
 Summary: A printer administration tool
 Name: system-config-printer
@@ -89,7 +92,8 @@
 %defattr(-,root,root,-)
 %doc --parents pycups-%{pycups_version}/{ChangeLog,README,NEWS,TODO,examples,html}
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/newprinternotification.conf
-%{_libdir}/python*/*/*.so
+%{python_sitearch}/cups.so
+%{python_sitelib}/cups-%{version}-py%{pyver}.egg-info
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/cupshelpers.py*
 %{_datadir}/%{name}/ppds.py*
@@ -126,6 +130,7 @@
 
 %changelog
 * Mon Dec 17 2007 Tim Waugh <twaugh at redhat.com> 0.7.78-3
+- Install Python egg-info file.
 - Updated pycups to 1.9.32.
 
 * Tue Nov 27 2007 Tim Waugh <twaugh at redhat.com> 0.7.78-2




More information about the fedora-extras-commits mailing list