diff options
Diffstat (limited to 'repos/autotools/autotools-latest/libtool/libtool.spec')
-rw-r--r-- | repos/autotools/autotools-latest/libtool/libtool.spec | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/repos/autotools/autotools-latest/libtool/libtool.spec b/repos/autotools/autotools-latest/libtool/libtool.spec index 718350f..880f66f 100644 --- a/repos/autotools/autotools-latest/libtool/libtool.spec +++ b/repos/autotools/autotools-latest/libtool/libtool.spec @@ -1,6 +1,7 @@ %{?_compat_el5_build} - %{!?scl:%global scl autotools-latest} +%{?sclize_package} + %global gcc_version %(gcc -dumpversion || echo "666") @@ -9,7 +10,7 @@ Summary: The GNU Portable Library Tool Name: %{?scl_prefix}libtool Version: 2.4.2 -Release: 11%{?dist} +Release: 13%{?dist} License: GPLv2+ and LGPLv2+ and GFDL URL: http://www.gnu.org/software/libtool/ Group: Development/Tools @@ -45,7 +46,7 @@ BuildRequires: help2man BuildRequires: texinfo %{?scl: -BuildRequires: scl-utils-build +BuildRequires: scl-utils-build %{scl_prefix}-runtime Requires:%scl_runtime } @@ -119,6 +120,7 @@ find -exec touch --date=`date -I` {} + %build +%{?scl_heredoc} export CC=gcc export CXX=g++ export F77=gfortran @@ -139,6 +141,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fPIC" --host= --build= --target= make %{?_smp_mflags} +%{?scl_heredoc_off} for i in ChangeLog.1997 ChangeLog.1998 ChangeLog.1999 ChangeLog.2002; do iconv -f ISO_8859-15 -t UTF8 $i > $i.tmp @@ -151,9 +154,8 @@ done %install -%if 0%{?rhel} == 5 -rm -rf %{builroot} -%endif +%{?scl_heredoc} +%_compat_install make install DESTDIR=%{buildroot} # info's TOP dir (by default owned by info) @@ -162,7 +164,7 @@ rm -f %{buildroot}%{_infodir}/dir # *.la *.a files generated by libtool shouldn't be distributed (and the # `./configure --disable-static' breaks testsuite) rm -f %{buildroot}%{_libdir}/libltdl.{a,la} - +%{?scl_heredoc_off} %post /sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || : @@ -204,6 +206,9 @@ fi %{_libdir}/libltdl.so %changelog +* Sun Dec 13 2015 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-13 +- make sure collection is enabled during %%install + * Sun Dec 13 2015 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-11 - bump for new gcc in f22+ |