[libconcord] Python build updates

Scott Talbert swt2c at fedoraproject.org
Fri Feb 28 03:30:59 UTC 2014


commit e53e45652740978b229ca102904e0c86cd88aaf7
Author: Scott Talbert <swt at techie.net>
Date:   Thu Feb 27 22:31:19 2014 -0500

    Python build updates
    
    - Update python build dependency per:
      https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel
    - Remove old patches
    - Remove old python bindings setup for Fedora < 8

 concordance-0.24-automake-1.12-fix.patch |   14 -
 libconcord-0.23-525_flash_base.patch     |   21 -
 libconcord-0.23-gcc47.patch              |   20 -
 libconcord-0.23-mime-type-def.patch      |24086 ------------------------------
 libconcord-0.23-modern_udev.patch        |  160 -
 libconcord-0.23-name_515.patch           |   25 -
 libconcord.spec                          |   18 +-
 7 files changed, 8 insertions(+), 24336 deletions(-)
---
diff --git a/libconcord.spec b/libconcord.spec
index 8df46ba..6c2858c 100644
--- a/libconcord.spec
+++ b/libconcord.spec
@@ -3,7 +3,7 @@
 
 Name: libconcord
 Version: 1.0
-Release: 5%{?dist}
+Release: 6%{?dist}
 Summary: Library to talk to Logitech Harmony universal remote controls
 
 Group: Development/Libraries
@@ -18,7 +18,7 @@ BuildRequires: libusb-devel
 BuildRequires: swig
 BuildRequires: perl(ExtUtils::MakeMaker)
 BuildRequires: python-devel
-BuildRequires: python-setuptools-devel
+BuildRequires: python-setuptools
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -85,11 +85,7 @@ cd -
 
 # python bindings
 cd bindings/python
-%if 0%{?fedora} > 8
 CFLAGS="%{optflags}" %{__python} setup.py build
-%else
-CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
-%endif
 cd -
 
 
@@ -114,11 +110,7 @@ cd -
 
 # python bindings
 cd bindings/python
-%if 0%{?fedora} > 8
 %{__python} setup.py install -O1 --skip-build --root %{buildroot} --install-purelib %{python_sitearch}
-%else
-%{__python} -c 'import setuptools; execfile("setup.py")' install -O1 --skip-build --root %{buildroot} --install-purelib %{python_sitearch}
-%endif
 cd -
 
 
@@ -174,6 +166,12 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 
 
 %changelog
+* Fri Feb 28 2014 Scott Talbert <swt at techie.net> - 1.0-6
+- Update python build dependency per:
+  https://fedoraproject.org/wiki/Changes/Remove_Python-setuptools-devel
+- Remove old patches
+- Remove old python bindings setup for Fedora < 8
+
 * Wed Jan 29 2014 Scott Talbert <swt at techie.net> - 1.0-5
 - Update autoconf patch to fix FTBFS, RHBZ #1059107
 


More information about the scm-commits mailing list