[authhub/f17] Make python package and plugins noarch

Nathaniel McCallum npmccallum at fedoraproject.org
Mon Feb 20 20:13:04 UTC 2012


commit f20b931cc60b263eb3d485418423fa89438390bd
Author: Nathaniel McCallum <nathaniel at themccallums.org>
Date:   Mon Feb 20 15:13:03 2012 -0500

    Make python package and plugins noarch

 authhub.spec |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)
---
diff --git a/authhub.spec b/authhub.spec
index 2f2134f..7d82f93 100644
--- a/authhub.spec
+++ b/authhub.spec
@@ -1,6 +1,6 @@
 Name:           authhub
 Version:        0.1.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        OTP support for MIT Kerberos
 
 License:        MIT
@@ -27,7 +27,8 @@ Provides client-side %{name} support to MIT Kerberos
 %package -n     python-%{name}
 Summary:        Python module for %{name}
 License:        GPLv3+
-Requires:       %{name}%{?_isa} = %{version}-%{release}
+Requires:       %{name} = %{version}-%{release}
+BuildArch:      noarch
 
 %description -n python-%{name}
 Python helper module for building %{name} plugins
@@ -35,7 +36,8 @@ Python helper module for building %{name} plugins
 %package        totp
 Summary:        TOTP plugin for %{name}
 License:        GPLv3+
-Requires:       python-%{name}%{?_isa} = %{version}-%{release}
+Requires:       python-%{name} = %{version}-%{release}
+BuildArch:      noarch
 
 %description    totp
 %{name} plugin for totp tokens
@@ -43,7 +45,8 @@ Requires:       python-%{name}%{?_isa} = %{version}-%{release}
 %package        httpbasicauth
 Summary:        HTTP Basic Auth plugin for %{name}
 License:        GPLv3+
-Requires:       python-%{name}%{?_isa} = %{version}-%{release}
+Requires:       python-%{name} = %{version}-%{release}
+BuildArch:      noarch
 
 %description    httpbasicauth
 %{name} plugin for verifying token value against an HTTP server
@@ -51,7 +54,8 @@ Requires:       python-%{name}%{?_isa} = %{version}-%{release}
 %package        yubikey
 Summary:        YubiKey plugin for %{name}
 License:        GPLv3+
-Requires:       python-%{name}%{?_isa} = %{version}-%{release}
+Requires:       python-%{name} = %{version}-%{release}
+BuildArch:      noarch
 
 %description    yubikey
 %{name} plugin for YubiKey tokens
@@ -95,6 +99,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
 %{_libexecdir}/%{name}-yubikey
 
 %changelog
+* Mon Feb 20 2012 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.1.1-2
+- Make python package and plugins noarch
+
 * Wed Feb 15 2012 Nathaniel McCallum <nathaniel at natemccallum.com> - 0.1.1-1
 - Initial package
 


More information about the scm-commits mailing list