[libhid] * Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> 0.2.17-6 - Allow build against sw

Orcan Ogetbil oget at fedoraproject.org
Sun Aug 1 16:51:28 UTC 2010


commit bdd3035a6fb3b8adfac9f5cece39b3a9be6c5997
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Sun Aug 1 12:51:24 2010 -0400

    * Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> 0.2.17-6
    - Allow build against swig-2.0 on Fedora > 13.

 libhid.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/libhid.spec b/libhid.spec
index 2d72be0..cd4cdf1 100644
--- a/libhid.spec
+++ b/libhid.spec
@@ -5,7 +5,7 @@
 
 Name:		libhid
 Version:	0.2.17
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	User space USB HID access library
 Group:		System Environment/Libraries
 License:	GPLv2
@@ -59,6 +59,10 @@ access to USB HID devices.
 %prep
 %setup -q
 %patch0 -p1 -b .fix_manpage
+%if 0%{?fedora} > 13
+# Allow build against swig-2.0
+sed -i 's|AC_PROG_SWIG(1.3)|AC_PROG_SWIG(2.0)|' configure.ac
+%endif
 autoreconf -i
 %patch1 -p1 -b .fix_compiler_flags
 
@@ -106,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Sun Aug 01 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> 0.2.17-6
+- Allow build against swig-2.0 on Fedora > 13.
+
 * Fri Jul 30 2010 Thomas Spura <tomspur at fedoraproject.org> 0.2.17-5
 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 


More information about the scm-commits mailing list