rpms/elfutils/devel elfutils.spec,1.124,1.125

roland roland at fedoraproject.org
Wed May 26 21:25:42 UTC 2010


Author: roland

Update of /cvs/pkgs/rpms/elfutils/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv27453

Modified Files:
	elfutils.spec 
Log Message:
Add back BuildRoot: tag for RHEL<6 and Fedora<10.
Ignore make check failures for compat or RHEL<6.



Index: elfutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/elfutils/devel/elfutils.spec,v
retrieving revision 1.124
retrieving revision 1.125
diff -u -p -r1.124 -r1.125
--- elfutils.spec	4 May 2010 01:46:57 -0000	1.124
+++ elfutils.spec	26 May 2010 21:25:42 -0000	1.125
@@ -21,6 +21,12 @@
 %global separate_devel_static 1
 %endif
 
+%if %{compat} || %{!?rhel:6}%{?rhel} < 6
+%global nocheck true
+%else
+%global nocheck false
+%endif
+
 Summary: A collection of utilities and DSOs to handle compiled objects
 Name: elfutils
 Version: %{eu_version}
@@ -38,6 +44,10 @@ Patch2: elfutils-portability.patch
 Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
 Requires: elfutils-libs-%{_arch} = %{version}-%{release}
 
+%if %{!?rhel:6}%{?rhel} < 6 || %{!?fedora:9}%{?fedora} < 10
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%endif
+
 BuildRequires: gettext
 BuildRequires: bison >= 1.875
 BuildRequires: flex >= 2.5.4a
@@ -216,7 +226,7 @@ chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_
 %find_lang %{name}
 
 %check
-make -s check
+make -s check || %{nocheck}
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}



More information about the scm-commits mailing list