Browse Source

libtool-2.4.6-4

Tomohiro "Tomo-p" KATO 4 years ago
parent
commit
b259586712
1 changed files with 24 additions and 1 deletions
  1. 24 1
      lib/libt/libtool/libtool-vl.spec

+ 24 - 1
lib/libt/libtool/libtool-vl.spec

@@ -6,7 +6,7 @@ Summary: The GNU Portable Library Tool
 Summary(ja): GNU ポータブルライブラリツール
 Name:    libtool
 Version: 2.4.6
-Release: 3%{?_dist_release}
+Release: 4%{?_dist_release}
 License: GPLv2+ and LGPLv2+ and GFDL
 Group:   Development/Tools
 URL:     http://www.gnu.org/software/libtool/
@@ -14,6 +14,22 @@ URL:     http://www.gnu.org/software/libtool/
 Source:  http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
 Patch0:  libtool-2.4.6-rpath.patch
 
+# ~> downstream (TODO)
+Patch1: libtool-2.4.6-am-1.16-test.patch
+
+# ~> upstream 702a97fbb
+Patch2: libtool-2.4.6-specs.patch
+
+# See the rhbz#1289759 and rhbz#1214506.  We disable hardening namely because
+# that bakes the CFLAGS/LDFLAGS into installed /bin/libtool and ltmain.sh files.
+
+# At the same time we want to have libltdl.so hardened.  Downstream-only patch.
+%undefine _hardened_build
+Patch3: libtool-2.4.6-hardening.patch
+
+# rhbz#1622611, upstream 350082b6aa89f9ef603fcebbb4cf33f15a743f2f
+Patch4: libtool-2.4.6-fatal-handler.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 Requires(post):  /sbin/install-info
 Requires(preun): /sbin/install-info
@@ -127,6 +143,10 @@ Static libraries and header files for development with ltdl.
 %prep
 %setup -q
 %patch0 -p1 
+%patch1 -p1 
+%patch2 -p1 
+%patch3 -p1 
+%patch4 -p1 
 
 
 %build
@@ -213,6 +233,9 @@ fi
 
 
 %changelog
+* Thu Aug 29 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.6-4
+- imported Patch1-4 from rawhide.
+
 * Mon Jan 21 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.6-3
 - rebuilt with gcc-8.2.0.