summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-01-27 22:44:16 +0100
committerJakub Jelinek <jakub@redhat.com>2017-01-27 22:44:16 +0100
commit630bae73d5e9b4aec18942e3806b6445f7719972 (patch)
tree2e1461cb8c84a993fe0df0572c10e2d6a8b42ba0
parent5ce8206d715cffa3b892c61f05c397b4d9a4987f (diff)
downloadlibtool-630bae73d5e9b4aec18942e3806b6445f7719972.tar.gz
libtool-630bae73d5e9b4aec18942e3806b6445f7719972.tar.xz
libtool-630bae73d5e9b4aec18942e3806b6445f7719972.zip
2.4.6-15
-rw-r--r--libtool.spec12
1 files changed, 9 insertions, 3 deletions
diff --git a/libtool.spec b/libtool.spec
index 01fec00..ec9cc3a 100644
--- a/libtool.spec
+++ b/libtool.spec
@@ -2,14 +2,14 @@
%undefine _hardened_build
# See the bug #429880
-%global gcc_version %(gcc -dumpversion || echo "666")
+%global gcc_major %(gcc -dumpversion || echo "666")
%bcond_without check
Summary: The GNU Portable Library Tool
Name: libtool
Version: 2.4.6
-Release: 14%{?dist}
+Release: 15%{?dist}
License: GPLv2+ and LGPLv2+ and GFDL
URL: http://www.gnu.org/software/libtool/
Group: Development/Tools
@@ -22,7 +22,9 @@ Patch0: libtool-2.4.5-rpath.patch
# /usr/bin/libtool includes paths within gcc's versioned directories
# Libtool must be rebuilt whenever a new upstream gcc is built
-Requires: gcc = %{gcc_version}
+# Starting with gcc 7 gcc in Fedora is packaged so that only major
+# number changes need libtool rebuilding.
+Requires: gcc(major) = %{gcc_major}
Requires: autoconf, automake, sed, tar, findutils
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
@@ -170,6 +172,10 @@ fi
%changelog
+* Fri Jan 27 2017 Jakub Jelinek <jakub@redhat.com> - 2.4.6-15
+- bump: for gcc 7.*
+- require gcc(major) = 7 rather than gcc = 7.0.1
+
* Tue Jan 03 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-14
- remove duplicate Requires: entry
- use bcond_without instead of PostgreSQL-packaging 'runselftest'