summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2017-02-14 16:59:56 +0100
committerPavel Raiskup <praiskup@redhat.com>2017-02-14 16:59:56 +0100
commitcdfaccc95c7c1d747a081ae733b5c79a93b47958 (patch)
tree586c9f83ce3ee2efe0778b5d289ed0fdbdea0f29
parentac1c96c6f7363e564847bd4a3fb33e28ba7a4a66 (diff)
downloadscl-autotools-cdfaccc95c7c1d747a081ae733b5c79a93b47958.tar.gz
scl-autotools-cdfaccc95c7c1d747a081ae733b5c79a93b47958.tar.xz
scl-autotools-cdfaccc95c7c1d747a081ae733b5c79a93b47958.zip
git/libtool: sync with fedora #2
-rw-r--r--repos/autotools/autotools-git/libtool/libtool.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/repos/autotools/autotools-git/libtool/libtool.spec b/repos/autotools/autotools-git/libtool/libtool.spec
index b6933a5..dbb63e8 100644
--- a/repos/autotools/autotools-git/libtool/libtool.spec
+++ b/repos/autotools/autotools-git/libtool/libtool.spec
@@ -14,14 +14,14 @@
%{?scl:%scl_package libtool}
# See the bug #429880
-%global gcc_version %(gcc -dumpversion || echo "666")
+%global gcc_major %(gcc -dumpversion || echo "666")
%bcond_with check
Summary: The GNU Portable Library Tool
Name: %{?scl_prefix}libtool
Version: %{upstream_vr}~git
-Release: 5.%{git_hash}%{?dist}
+Release: 6.%{git_hash}%{?dist}
License: GPLv2+ and LGPLv2+ and GFDL
URL: http://www.gnu.org/software/libtool/
Group: Development/Tools
@@ -30,7 +30,9 @@ Source: libtool-%{upstream_vr}-%{git_hash}.tar.gz
# /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: %{?scl_prefix}autoconf, %{?scl_prefix}automake, sed, tar, findutils
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
@@ -199,6 +201,9 @@ fi
%changelog
+* Tue Feb 14 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.6.34~git-6.08c5
+- sync with fedora
+
* Tue Jan 03 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.6.34~git-5.08c5
- sync with fedora