rpms/elfutils/F-7 elfutils.spec,1.91,1.92
Roland McGrath (roland)
fedora-extras-commits at redhat.com
Tue Jan 22 02:38:51 UTC 2008
Author: roland
Update of /cvs/pkgs/rpms/elfutils/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26777/F-7
Modified Files:
elfutils.spec
Log Message:
Portability hack for F-7 and earlier.
Index: elfutils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/elfutils/F-7/elfutils.spec,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- elfutils.spec 22 Jan 2008 02:08:05 -0000 1.91
+++ elfutils.spec 22 Jan 2008 02:38:13 -0000 1.92
@@ -1,5 +1,5 @@
%define eu_version 0.132
-%define eu_release 2
+%define eu_release 3
%if %{?_with_compat:1}%{!?_with_compat:0}
%define compat 1
@@ -7,6 +7,13 @@
%define compat 0
%endif
+%if "%fedora" >= "8"
+%define scanf_has_m 1
+%endif
+%if "%rhel" >= "6"
+%define scanf_has_m 1
+%endif
+
%if "%fedora" >= "7"
%define separate_devel_static 1
%endif
@@ -144,6 +151,10 @@
%patch0 -p1
ln -f %{SOURCE2} %{SOURCE3} tests || cp -f %{SOURCE2} %{SOURCE3} tests
+%if !0%{?scanf_has_m}
+sed -i.scanf-m -e 's/%m/%a/' tests/line2addr.c
+%endif
+
%if %{compat}
%patch1 -p1
sleep 1
@@ -261,7 +272,7 @@
%{_libdir}/libelf.a
%changelog
-* Mon Jan 21 2008 Roland McGrath <roland at redhat.com> - 0.132-2
+* Mon Jan 21 2008 Roland McGrath <roland at redhat.com> - 0.132-3
- Update to 0.132
- libelf: Use loff_t instead of off64_t in libelf.h header. (#377241)
- eu-readelf: Fix handling of ET_REL files in archives.
More information about the fedora-extras-commits
mailing list