[systemtap/f17] fix up the %if statement for x86_64

Dennis Gilmore ausil at fedoraproject.org
Fri Jul 13 13:38:34 UTC 2012


commit 758d9e3f2283f8b072d2b6390723819d93f5c15a
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Fri Jul 13 08:38:30 2012 -0500

    fix up the %if statement for x86_64
    
    - and use file based requires to pull in 32 bit glibc-devel
    - ensures that the package is installable in koji

 systemtap.spec |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/systemtap.spec b/systemtap.spec
index 5d8ec44..bdf1448 100644
--- a/systemtap.spec
+++ b/systemtap.spec
@@ -20,7 +20,7 @@
 
 Name: systemtap
 Version: 1.8
-Release: 3%{?dist}
+Release: 4%{?dist}
 # for version, see also configure.ac
 
 
@@ -227,8 +227,8 @@ Requires: avahi
 # testsuite/systemtap.base/crash.exp needs crash
 Requires: crash
 %endif
-%if %{_arch} == x86_64
-Requires: glibc-devel(%{__isa_name}-32)
+%ifarch x86_64
+Requires: /usr/lib/libc.so
 %endif
 
 %description testsuite
@@ -586,6 +586,11 @@ exit 0
 # ------------------------------------------------------------------------
 
 %changelog
+* Fri Jul 13 2012 Dennis Gilmore <dennis at ausil.us> - 1.8-4
+- fix up the %%if statement for x86_64 
+- and use file based requires to pull in 32 bit glibc-devel 
+- ensures that the package is installable in koji
+
 * Wed Jul 11 2012 Frank Ch. Eigler <fche at redhat.com> - 1.8-3
 - PR14348 task_work_add race condition fix
 


More information about the scm-commits mailing list