[libuser] Use %%{?_isa} in Requires:

Miloslav Trmac mitr at fedoraproject.org
Fri Feb 4 21:41:50 UTC 2011


commit a347ded2959648e606fb0456c17abd4f71dc7e80
Author: Miloslav Trmač <mitr at redhat.com>
Date:   Fri Feb 4 22:41:32 2011 +0100

    Use %%{?_isa} in Requires:
    
    * Fri Feb  4 2011 Miloslav Trmač <mitr at redhat.com> - 0.57.1-4
    - Use %%{?_isa} in Requires:

 libuser.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/libuser.spec b/libuser.spec
index ab85829..5c599fe 100644
--- a/libuser.spec
+++ b/libuser.spec
@@ -2,7 +2,7 @@
 
 Name: libuser
 Version: 0.57.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 Group: System Environment/Base
 License: LGPLv2+
 URL: https://fedorahosted.org/libuser/
@@ -28,8 +28,8 @@ suite are included.
 %package devel
 Group: Development/Libraries
 Summary: Files needed for developing applications which use libuser
-Requires: %{name} = %{version}-%{release}
-Requires: glib2-devel
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: glib2-devel%{?_isa}
 
 %description devel
 The libuser-devel package contains header files, static libraries, and other
@@ -38,7 +38,7 @@ files useful for developing applications with libuser.
 %package python
 Summary: Python bindings for the libuser library
 Group: Development/Libraries
-Requires: libuser = %{version}-%{release}
+Requires: libuser%{?_isa} = %{version}-%{release}
 
 %description python
 The libuser-python package contains the Python bindings for
@@ -107,6 +107,9 @@ python -c "import libuser"
 %{_datadir}/gtk-doc/html/*
 
 %changelog
+* Fri Feb  4 2011 Miloslav Trmač <mitr at redhat.com> - 0.57.1-4
+- Use %%{?_isa} in Requires:
+
 * Fri Jan 21 2011 Miloslav Trmač <mitr at redhat.com> - 0.57.1-3
 - Disable (make check) to allow parallel 32-bit and 64-bit builds
 


More information about the scm-commits mailing list