fkluknav pushed to gmp (f22). "bug965318 - improve debuginfo of assembler sources"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Apr 2 15:51:56 UTC 2015


>From f30e98f78ea58a4932750c020c27172fcd1ac762 Mon Sep 17 00:00:00 2001
From: Frantisek Kluknavsky <fkluknav at redhat.com>
Date: Thu, 2 Apr 2015 17:06:58 +0200
Subject: bug965318 - improve debuginfo of assembler sources


diff --git a/gmp-6.0.0-debuginfo.patch b/gmp-6.0.0-debuginfo.patch
new file mode 100644
index 0000000..bb72839
--- /dev/null
+++ b/gmp-6.0.0-debuginfo.patch
@@ -0,0 +1,21 @@
+diff -up wrk/mpn/m4-ccas.wrk wrk/mpn/m4-ccas
+--- wrk/mpn/m4-ccas.wrk	2015-04-02 16:44:03.645305407 +0200
++++ wrk/mpn/m4-ccas	2015-04-02 16:21:57.893870969 +0200
+@@ -104,4 +104,4 @@ echo "$CC"
+ $CC || exit
+ 
+ # Comment this out to preserve .s intermediates
+-rm -f $TMP
++#rm -f $TMP
+diff -up wrk/mpn/Makeasm.am.wrk wrk/mpn/Makeasm.am
+--- wrk/mpn/Makeasm.am.wrk	2015-04-02 16:42:41.692278742 +0200
++++ wrk/mpn/Makeasm.am	2015-04-02 16:21:57.891870945 +0200
+@@ -66,7 +66,7 @@ SUFFIXES = .s .S .asm
+ 
+ 
+ # can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
+-RM_TMP = rm -f
++RM_TMP = true
+ 
+ 
+ # .S assembler, preprocessed with cpp.
diff --git a/gmp.spec b/gmp.spec
index 43740c3..08351f4 100644
--- a/gmp.spec
+++ b/gmp.spec
@@ -6,7 +6,7 @@
 Summary: A GNU arbitrary precision library
 Name: gmp
 Version: 6.0.0
-Release: 8%{?dist}
+Release: 9%{?dist}
 Epoch: 1
 URL: http://gmplib.org/
 Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2
@@ -14,6 +14,7 @@ Source0: ftp://ftp.gmplib.org/pub/gmp-%{version}/gmp-%{version}a.tar.bz2
 Source2: gmp.h
 Source3: gmp-mparam.h
 Patch1: gmp-6.0.0-ppc64.patch
+Patch2: gmp-6.0.0-debuginfo.patch
 License: LGPLv3+ or GPLv2+
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -60,6 +61,7 @@ in applications.
 %prep
 %setup -q
 %patch1 -p1 -b .ppc64
+%patch2 -p1 -b .debuginfo
 
 # switch the defaults to new cpus on s390x
 %ifarch s390x
@@ -235,6 +237,9 @@ exit 0
 %{_libdir}/libgmpxx.a
 
 %changelog
+* Thu Apr 02 2015 Frantisek Kluknavsky <fkluknav at redhat.com> - 1:6.0.0-9
+- bug965318 - improve debuginfo of assembler sources
+
 * Thu Sep 04 2014 Dan HorĂ¡k <dan[at]danny.cz> - 1:6.0.0-8
 - drop s390x patch, support is already in upstream
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/gmp.git/commit/?h=f22&id=f30e98f78ea58a4932750c020c27172fcd1ac762


More information about the scm-commits mailing list