rpms/python-daap/devel python-daap.spec,1.3,1.4

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Tue Feb 12 05:09:13 UTC 2008


Author: jcollie

Update of /cvs/pkgs/rpms/python-daap/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28750

Modified Files:
	python-daap.spec 
Log Message:
Rebuild for GCC 4.3


Index: python-daap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-daap/devel/python-daap.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-daap.spec	29 Aug 2007 14:29:36 -0000	1.3
+++ python-daap.spec	12 Feb 2008 05:08:28 -0000	1.4
@@ -2,7 +2,7 @@
 
 Name:           python-daap
 Version:        0.7
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        DAAP client implemented in Python
 
 Group:          Development/Languages
@@ -13,7 +13,11 @@
 Patch0:         python-daap-0.7-64bit.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires:  python-devel
+%if 0%{?fedora} >= 8
+BuildRequires: python-setuptools-devel
+%else
+BuildRequires: python-setuptools
+%endif
 
 %description
 A DAAP client implemented in Python.
@@ -23,11 +27,11 @@
 %patch0 -p1
 
 %build
-CFLAGS="%{optflags}" %{__python} setup.py build
+CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
  
 %clean
 rm -rf %{buildroot}
@@ -38,6 +42,10 @@
 %{python_sitearch}/*
 
 %changelog
+* Mon Feb 11 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.7-6
+- Rebuild for GCC 4.3
+- Build egg files.
+
 * Wed Aug 29 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 0.7-5
 - Update license tag.
 




More information about the fedora-extras-commits mailing list