[ykpers/el5] use only libusb rhel5 doesnt have anything newer

Dennis Gilmore ausil at fedoraproject.org
Thu Nov 10 00:52:07 UTC 2011


commit 32630699e445fb1b931d122053af3d89612ee1fb
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Wed Nov 9 18:51:57 2011 -0600

    use only libusb rhel5 doesnt have anything newer

 ykpers.spec |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/ykpers.spec b/ykpers.spec
index 7e53041..2cf0efc 100644
--- a/ykpers.spec
+++ b/ykpers.spec
@@ -1,6 +1,6 @@
 Name:           ykpers
 Version:        1.6.0
-Release:        2%{?dist}
+Release:        2%{?dist}.1
 Summary:        Yubikey personalization program
 
 Group:          Applications/System
@@ -12,11 +12,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch0:         %{name}-1.6.0-getopt.patch
 Patch1:         %{name}-1.6.0-bigendian.patch
 
-%ifnarch s390 s390x
-BuildRequires: libusb1-devel
-%else
 BuildRequires: libusb-devel
-%endif
 BuildRequires: libyubikey-devel
 
 %description
@@ -40,11 +36,7 @@ use ykpers.
 %build
 %configure --enable-static=no --disable-rpath \
            --with-udevrulesdir=/lib/udev/rules.d \
-%ifnarch s390 s390x
-    --with-backend=libusb-1.0
-%else
     --with-backend=libusb
-%endif
 # --disable-rpath doesn't work for the configure script
 %{__sed} -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
 %{__sed} -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
@@ -85,6 +77,9 @@ pwd
 %exclude %{_libdir}/libykpers-1.la
 
 %changelog
+* Wed Nov 09 2011 Dennis Gilmore <dennis at ausil.us> - 1.6.0-2.1
+- use only libusb rhel5 doesnt have anything newer
+
 * Thu Jul 21 2011 - Maxim Burgerhout <wzzrd at fedoraproject.org> - 1.6.0-2
 - Rebuild for rpm-4.9.1 trailing slash bug
 


More information about the scm-commits mailing list