diff options
author | Karsten Hopp <karsten@redhat.com> | 2017-04-20 11:57:19 +0200 |
---|---|---|
committer | Karsten Hopp <karsten@redhat.com> | 2017-04-20 11:57:19 +0200 |
commit | 761f060d1f0ad34f1c40b285070f55983aa4f673 (patch) | |
tree | 9e98e674c33509e9db6ebe98ca0b3090327df5b4 /libtool.spec | |
parent | a18bf3932e524978d0e52732c749e9ad7741a04a (diff) | |
download | libtool-761f060d1f0ad34f1c40b285070f55983aa4f673.tar.gz libtool-761f060d1f0ad34f1c40b285070f55983aa4f673.tar.xz libtool-761f060d1f0ad34f1c40b285070f55983aa4f673.zip |
bootstrap version without docs for Modularity
Diffstat (limited to 'libtool.spec')
-rw-r--r-- | libtool.spec | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/libtool.spec b/libtool.spec index e5c8e20..da07aa9 100644 --- a/libtool.spec +++ b/libtool.spec @@ -1,6 +1,10 @@ # See the bug #1289759 %undefine _hardened_build +# Set to bcond_without or use --with bootstrap if bootstrapping a new release +# or architecture +%bcond_without bootstrap + # See the bug #429880 %global gcc_major %(gcc -dumpversion || echo "666") @@ -19,6 +23,9 @@ Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz # ~> downstream # ~> remove possibly once #1158915 gets fixed somehow Patch0: libtool-2.4.5-rpath.patch +%if %{without bootstrap} +Patch100: libtool-nodocs.patch +%endif # /usr/bin/libtool includes paths within gcc's versioned directories # Libtool must be rebuilt whenever a new upstream gcc is built @@ -29,7 +36,10 @@ Requires: autoconf, automake, sed, tar, findutils Requires(post): /sbin/install-info Requires(preun): /sbin/install-info -BuildRequires: autoconf, automake, texinfo +%if %{without bootstrap} +BuildRequires: texinfo +%endif +BuildRequires: autoconf, automake BuildRequires: help2man # make sure we can configure all supported langs @@ -85,6 +95,9 @@ Static libraries and header files for development with ltdl. %prep %setup -n libtool-%{version} -q %patch0 -p1 -b .rpath +%if %{without bootstrap} +%patch100 -p1 -b .nodocs +%endif autoreconf -v |