Compare commits

...

134 Commits

Author SHA1 Message Date
Fedora Release Engineering 671c69b6ca Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 19:12:18 +00:00
Frederic Berat d6936bca91 libtool: rebase to 2.4.7
Per upstream release notes:
http://savannah.gnu.org/forum/forum.php?forum_id=10139

Resolves: #2065004
Version: 2.4.7-1

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-03-24 10:32:27 +01:00
Frederic Berat 2103f3557e ltmain: Keep compiler deps as-is
Keep the library dependency list generated by the compiler as-is.
Some libraries are given multiple times to satisfy proper symbol
resolution, don't break it.

Refer to rhbz#2043517 [1] for more details.

Patch proposal sent upstream [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2043517
[2] https://lists.gnu.org/archive/html/libtool-patches/2022-02/msg00000.html

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-02-22 17:20:07 +01:00
Jeff Law 91e23976a9 - Re-enable LTO (completing change from Nov 29, 2021) 2022-02-13 11:20:07 -05:00
Frederic Berat e334a543f5 Print log on make check failure
Fix the location of the log to be printed in case of failure of make
check.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-02-09 11:04:57 +01:00
Frederic Berat 60e84e58fc Clean-up configure call
The "%configure" line does nothing more than the default command already
do.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-02-09 11:04:43 +01:00
Frederic Berat 45145385d0 Use autosetup
Follow-up on using standard macros, calls to setup and patch are now
converted to autosetup call.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-02-03 11:22:56 +01:00
Frederic Berat b8c17a83ad Use make macros
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
Based on work from Tom Stellard <tstellar@redhat.com> and
Timm Bäder <tbaeder@redhat.com>.

This commit showed that "-fPIC" added to CFLAGS unconditionally actually
invalidated the "non-PIC" test.
As the flag got removed, the test had to be disabled on ARM.
Please refer to the following ticket regarding non-PIC support on ARM:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/503448

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-02-03 11:22:49 +01:00
Frederic Berat 8ea60b3528 Pass -fsanitize=* and -fuse-ld=* option down to gcc
Patches are back-ported from upstream.

Resolves: rhbz#2024647
Version: 2.4.6-48

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2022-02-03 11:22:05 +01:00
Fedora Release Engineering 0d2e488b2a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:25:50 +00:00
Jakub Jelinek d7fed31592 2.3.6-46 2022-01-10 13:44:06 +01:00
Marek Kulik 74058f9770 Enable lto
Changes:
- Enable lto
- Disable LTO for link-order2 test (Related: #1988112)
2021-11-30 03:31:26 +01:00
Ondrej Dubaj db525f3203 Rebuild with automake-1.16.5 2021-10-04 08:33:59 +02:00
Ondrej Dubaj 0ed40333c5 Rebuild with automake-1.16.4 2021-08-30 09:10:04 +02:00
Fedora Release Engineering dd70809a90 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 12:33:36 +00:00
Ondrej Dubaj f7825f2a5b rebuild with automake-1.16.3 2021-03-25 09:02:00 +01:00
Fedora Release Engineering 83fb9a43c0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 18:10:12 +00:00
Tom Stellard 04e5ffea94 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2021-01-05 02:55:00 +00:00
Jakub Jelinek 15323c4aea 2.4.6-39 2020-12-07 14:52:15 +01:00
Jakub Jelinek 8e079bc8c2 2.4.6-38 2020-12-06 12:18:51 +01:00
Jakub Jelinek ccf07fcec8 2.3.6-37 2020-10-21 13:56:47 +02:00
Fedora Release Engineering fd27324c89 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 05:45:14 +00:00
Jeff Law 8f6788ecbf Fix nil->%{nil} 2020-07-21 14:29:34 -06:00
Jeff Law f662497d12 Disable LTO 2020-07-13 17:00:20 -06:00
Pavel Raiskup ed1d025081 rebuild for new automake
Because https://bugzilla.redhat.com/show_bug.cgi?id=1813010

Related: rhbz#1815814
Version: 2.4.6-34
2020-04-21 13:28:41 +02:00
Fedora Release Engineering 9a8fe0e485 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 10:35:11 +00:00
Jakub Jelinek bc387bd454 bump: for gcc 10.* 2020-01-20 13:51:48 +01:00
Fedora Release Engineering 11bb551fbf - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 14:33:54 +00:00
Björn Esser 7f6486268a
Remove hardcoded gzip suffix from GNU info pages 2019-04-24 14:56:35 +02:00
Fedora Release Engineering 91dfefc8d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 08:23:36 +00:00
Igor Gnatenko dcf4e6dd16 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:13 +01:00
Björn Esser c627c76ee2
bump: for gcc 9.* 2019-01-21 11:45:35 +01:00
Pavel Raiskup d7abc1ef1a BR gcc, gcc-c++
Resolves: rhbz#1623078
Version: 2.4.6-27
2018-08-28 15:22:54 +02:00
Pavel Raiskup c9ab88f8c2 libtool: error: line 2642: func__fatal_error: command not
Resolves: rhbz#1622611
Version: 2.4.6-26
2018-08-28 08:37:51 +02:00
Pavel Raiskup e2559a5996 packaging cleanup
- drop Group
- use triggers, instead of %post/%postun

Version: 2.4.6-26
2018-08-28 08:36:37 +02:00
Fedora Release Engineering e739c222eb - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 08:56:45 +00:00
Pavel Raiskup af42c0d6a8 build: harden libltdl.so
Resolves: rhbz#1548751
Version: 2.4.6-24
2018-04-20 14:48:12 +02:00
Pavel Raiskup 2e616087c1 libtool: pass -specs=* option down to gcc
Resolves: rhbz#985592
Version: 2.4.6-23
2018-03-26 16:35:18 +02:00
Pavel Raiskup 20511dec72 ftbfs: caused by automake 1.16.1
Version: 2.4.6-23
2018-03-26 16:04:49 +02:00
Pavel Raiskup 601fea1c09 ltdl-devel: versioned automake requires
Resolves: rhbz#1193591
Version: 2.4.6-23
2018-03-26 10:03:31 +02:00
Fedora Release Engineering b8a0a1833f - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 23:32:15 +00:00
Jakub Jelinek 6c2276fe52 2.4.6-21 2018-01-29 12:26:24 +01:00
Jakub Jelinek 689ea7aa0b 2.4.6-21 2018-01-29 12:26:15 +01:00
Fedora Release Engineering a9a53fbc4f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 02:24:20 +00:00
Fedora Release Engineering 6abc0211d8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 19:51:59 +00:00
Karsten Hopp 84b388bf85 update patch 2017-04-21 12:47:47 +02:00
Karsten Hopp c3e7d097ab use new _module_build macro to limit dependencies for Modularity 2017-04-21 12:25:39 +02:00
Karsten Hopp 761f060d1f bootstrap version without docs for Modularity 2017-04-20 11:57:19 +02:00
Fedora Release Engineering a18bf3932e - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 19:35:07 +00:00
Pavel Raiskup 8bd995cb72 spec: use %license macro
Resolves: rhbz#1418518
Version: 2.4.6-16
2017-02-02 06:29:08 +01:00
Jakub Jelinek 630bae73d5 2.4.6-15 2017-01-27 22:44:16 +01:00
Pavel Raiskup 5ce8206d71 spec: use bcond_* check
Version: 2.4.6-14
2017-01-03 23:00:34 +01:00
Pavel Raiskup a3591d3cf5 spec: cleanup duplicated Requires:
Version: 2.4.6-14
2017-01-03 17:31:43 +01:00
Pavel Raiskup 5e7a398691 bump: new gcc 6.3.1
Version: 2.4.6-13
2016-12-22 14:02:43 +01:00
Pavel Raiskup 95504dfbb1 bump: gcc 6.2.1
Version: 2.4.6-12
2016-09-02 11:27:35 +02:00
Igor Gnatenko 67960efc2d Rebuilt for gcc 6.1.1
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2016-04-28 12:44:47 +02:00
Dennis Gilmore 73dd563656 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 04:02:22 +00:00
Jakub Jelinek 6db2edf610 rebuilt for gcc 6.0.0 2016-01-28 11:06:38 +01:00
Pavel Raiskup 736c30d445 spec: disable hardening
Version: 2.4.6-8
Resolves: rhbz#1289759
2015-12-08 22:51:18 +01:00
Kalev Lember 0339b76b4c Rebuilt for gcc 5.3.1 2015-12-08 07:15:46 +01:00
Orion Poplawski 744d3cfcef Rebuild for gcc 5.2.1 2015-11-05 22:38:48 -07:00
Jaromir Capik 88c9ef037a Adding STAGE2 bootstrap recipe 2015-11-03 18:19:55 +01:00
Dennis Gilmore 47646085c6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 17:26:53 +00:00
Pavel Raiskup 6454525449 configury: don't hack the hardening flags into ltmain.sh
Resolves: rhbz#1214506
Version: 2.4.6-4
2015-04-25 01:00:00 +02:00
Kalev Lember 31f0f3a016 rebuilt for gcc 5.1.1 2015-04-23 12:35:25 +02:00
Kalev Lember 6a95f58d97 add missing build dep 2015-04-15 00:50:51 +02:00
Kalev Lember ce2579f446 rebuilt for gcc 5.0.1 2015-04-15 00:25:25 +02:00
Pavel Raiskup d0c7297e4c libtool: rebase to 2.4.6
Per upstream release notes:
http://lists.gnu.org/archive/html/autotools-announce/2015-02/msg00000.html

Resolves: #1159497
Version: 2.4.6-1
2015-02-17 14:09:07 +01:00
Pavel Raiskup ee981597d8 libtool: rebase to 2.4.5
Per upstream release notes:
http://lists.gnu.org/archive/html/autotools-announce/2015-01/msg00001.html

Resolves: #1159497
Version: 2.4.5-1
2015-02-17 14:05:53 +01:00
Pavel Raiskup 1421f339b7 libtool: rebase back to 2.4.4
This reverts commit 1945f99711.

Version: 2.4.4-1
Resolves: #1159497
2015-02-17 14:03:16 +01:00
Jakub Jelinek e37df67fbd 2.4.2-32 2015-02-06 08:10:27 +01:00
Pavel Raiskup 1945f99711 libtool: revert to 2.4.2
This reverts commit 814b78bc80.
This reverts commit 6f9ef243b6.
This reverts commit f6d9cfe433.

This is safe without epoch bumping because I did not build libtool
in f22 yet.

Related: #1159497
Version: 2.4.2-31
2015-01-15 11:15:18 +01:00
Pavel Raiskup 814b78bc80 rebase: fix sources and commit the testsuite patch
Related: #1159497
Version: 2.4.4-1
2015-01-14 11:40:51 +01:00
Pavel Raiskup 6f9ef243b6 rebase to minor (bugfix) release 2.4.4
Resolves: #1159497
Version: 2.4.4-1
2015-01-14 08:18:27 +01:00
Pavel Raiskup f6d9cfe433 rebase to latest minor (bugfix) release
Per release notes:
http://lists.gnu.org/archive/html/autotools-announce/2014-10/msg00000.html

Resolves: #1159497
Version: 2.4.3-1
2015-01-14 08:15:03 +01:00
Jakub Jelinek f5393b6f95 rebuilt for gcc 4.9.2 2014-11-02 12:24:44 +01:00
Peter Robinson d5847242a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 06:22:40 +00:00
Kalev Lember d3b89b8ef3 Rebuild once more for gcc 4.9.1
F21 build roots still had gcc 4.9.0 when the previous rebuild was kicked
off.
2014-07-19 14:29:51 +02:00
Peter Robinson 9f7157c555 Bump again for gcc 4.9.1 in F-21 2014-07-18 22:43:43 +01:00
Pavel Raiskup afdf7c6bed bump: new gcc 4.9.1
Version: 2.4.2-27
2014-07-17 11:08:48 +02:00
Pavel Raiskup 4b64b2d23c spec: cleanup
Re-enable parallel build, implement hack for easier rebuilds of
libtool against new gcc.

Related: #429880
Version: 2.4.2-26
2014-06-09 16:22:05 +02:00
Pavel Raiskup 8488c15313 spec: FTBFS: do not BR gcc-java
Resolves: #1106080
Version: 2.4.2-26
2014-06-09 16:14:27 +02:00
Dennis Gilmore ebcda29be2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 00:43:41 -05:00
Jakub Jelinek bd7834d949 2.4.2-24 2014-04-10 08:01:09 +02:00
Pavel Raiskup 992ca6d516 spec: require findutils
Resolves: #1047084
Version: 2.4.2-23
2014-01-07 09:48:16 +01:00
Pavel Raiskup dfc43d7286 m4: fix powerpcle patch
Thanks to Brent Baude; I backported the fix badly before.

Version: 2.4.2-22
2013-10-23 10:51:05 +02:00
Jakub Jelinek 3f58a9eaa8 2.4.2-21 2013-10-17 19:44:08 +02:00
Pavel Raiskup 9e51824dd4 m4: add support for powerpc*le-linux to libtool.m4
Version: 2.4.2-20
2013-10-15 08:42:45 +02:00
Pavel Raiskup d0ff0b7639 spec: steal newer config.{guess,sub} from redhat-rpm-config
I was asked to add newer config.{guess,sub} files into libtool and
I see now that (a) %configure is enabled and (b) redhat-rpm-config
was updated to have sufficiently new gnuconfig files.  Thus simply
bumping version & rebuilding should be enough.

Thanks Dan Horák and Brent Baude for pointing that out.

Version: 2.4.2-19
2013-10-10 21:12:12 +02:00
Dennis Gilmore 9773bbaa9f - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-03 02:14:55 -05:00
Pavel Raiskup 7fcf7c16e5 spec: version bump
Version: 2.4.2-17
2013-07-10 17:08:05 +02:00
Pavel Raiskup f6f6b36b74 spec: fix bogus date in changelog
Version: 2.4.2-16
2013-07-04 09:01:35 +02:00
Jakub Jelinek 21ad6ffc5d 2.4.2-16 2013-06-04 09:01:38 +02:00
Pavel Raiskup 6505ef7cac spec: Remove patch3 application
Version: 2.4.2-15
Resolves: #636045
Key: --amend
2013-05-07 08:13:42 +02:00
Pavel Raiskup 2e57b2d942 libtool,ltmain.sh: revert execute mode dd optimization
See the bug for more info.

Version: 2.4.2-14
Resolves: #636045
2013-05-07 08:02:20 +02:00
Pavel Raiskup b6164b7e35 libtool: speedup execute mode
Pre-filter sed's input by dd to avoid long delays and unlimited memory
consumption.

Version: 2.4.2-14
Resolves: #636045
2013-04-26 19:07:00 +02:00
Pavel Raiskup ff35f71477 libtoolize: allow root to copy files to NFS
Version: 2.4.2-14
Resolves: #740079
2013-04-24 08:42:57 +02:00
Pavel Raiskup db1138b63b spec: Bump version
Version: 2.4.2-13
2013-03-14 10:25:09 +01:00
Pavel Raiskup f1985557bc spec: disable BR on gcc-java for RHEL
Version: 2.4.2-13
2013-03-14 10:13:18 +01:00
Jakub Jelinek e916177a4d 2.4.2-12 2013-01-24 13:45:42 +01:00
Pavel Raiskup 1423518f7f Remove the "minimal version" BR/R on auto{make,conf}
Related: #670409
2012-12-06 12:55:26 +01:00
Pavel Raiskup b1015a961b Merge branch 'master' into f18 2012-10-25 10:13:51 +02:00
Pavel Raiskup c49bc7bb8e No, `./configure --disable-static' breaks `make check' 2012-10-25 09:31:36 +02:00
Pavel Raiskup 4460f68b01 Another fixes for spec file
- disable static compilation of libltdl.a (it was deleted anyway)
- do not own /usr/share/libtool/ by libtool-ltdl
2012-10-25 09:00:27 +02:00
Pavel Raiskup 742d286e38 Temporarily disable the test 37 (gcj && ecj check) 2012-10-24 14:22:32 +02:00
Pavel Raiskup 5b043ec825 Fix fedora-review warnings, etc.
- bad build circumstances fix
- s/${buildroot}/%{buildroot}/
- simplify 'make check' command
- ... viz. spec file changelog
2012-10-23 09:50:46 +02:00
Pavel Raiskup 653b3fbae0 Add tar as BuildRequires for libtool
- we need this because tar is missing in Fedora installed with minimal
  profile (Resolves: #794675)
2012-10-04 08:54:02 +02:00
Jakub Jelinek a7bf0c82c6 rebuild for gcc 4.7.2 2012-09-23 09:09:49 +02:00
Dan Horák 05920a1caf rebuild for gcc 4.7.2 2012-09-21 13:01:53 +02:00
Dennis Gilmore d8824e86bc - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-19 16:24:44 -05:00
Peter Robinson c1f0c98dc8 rebuild 2012-07-15 21:52:21 +01:00
Richard W.M. Jones 4f33650058 Rebuild for gcc 4.7.1 which just entered Rawhide. 2012-06-29 22:14:58 +01:00
TASAKA Mamoru 250be89924 really rebuild for gcc 4.7.0 2012-01-05 15:10:20 +09:00
Jakub Jelinek fe3c7dae4e Rebuilt for gcc 4.7.0 2012-01-03 18:58:08 +01:00
spot bf18f61b5e 2.4.2 2011-12-02 11:42:59 -05:00
Jakub Jelinek 238bd00f20 rebuilt for gcc 4.6.2 2011-10-27 19:59:24 +02:00
Peter Robinson a73c24da90 actually update the hardwired gcc version 2011-06-28 12:30:23 +01:00
Peter Robinson 146d86ad58 actually update the hardwired gcc version 2011-06-28 12:25:50 +01:00
Peter Robinson 955fb5986d Rebuild for gcc 4.6.1 2011-06-28 10:20:26 +01:00
Dennis Gilmore 13058dd99d - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 2011-02-08 06:08:04 -06:00
Christopher Aillon f82b7ee48e Rebuild for gcc 4.6.0 2011-01-22 19:14:08 -08:00
Adam Jackson d6003fdb5b gcc 4.5.1 rebuild 2010-12-06 09:00:37 -05:00
Karsten Hopp 18e1d547a6 update to libtool-2.4 2010-12-06 12:37:57 +01:00
Fedora Release Engineering 89983d41df dist-git conversion 2010-07-28 21:46:35 +00:00
Jakub Jelinek 9d8a56b800 2.2.10-2 2010-07-07 20:27:04 +00:00
Karsten Hopp e42ad84d76 - update to libtool-2.2.10 2010-06-24 10:13:28 +00:00
Jakub Jelinek e069b2a9c9 2.2.6-20 2010-05-01 07:13:36 +00:00
Karsten Hopp a347d54f6e - enable selfcheck
- convert changelog files to utf8 (#226050)
2010-04-12 15:55:22 +00:00
Jakub Jelinek 386555779c 2.2.6-18 2010-01-21 20:46:54 +00:00
Karsten Hopp e822f10b3f - fix directory name used in libtool tarball 2009-12-02 11:29:12 +00:00
Karsten Hopp a4c42355a6 - make sure that NVR is higher than previous version 2009-12-02 11:21:13 +00:00
Karsten Hopp b3186c0da5 - fix gcc version 2009-12-02 11:13:49 +00:00
Karsten Hopp 8019cb2cff - update to 2.2.6b, fixes CVE-2009-3736: libltdl may load and execute code
from a library in the current directory
2009-12-02 11:09:10 +00:00
Bill Nottingham 23aef11eec Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:51:21 +00:00
16 changed files with 651 additions and 187 deletions

View File

@ -1 +0,0 @@
libtool-2.2.6a.tar.lzma

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/libtool-2.4.6.tar.xz
/libtool-2.4.7.tar.xz

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: libtool
# $Id: Makefile,v 1.1 2004/09/09 07:44:21 cvsdist Exp $
NAME := libtool
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attempt a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

6
STAGE2-libtool Normal file
View File

@ -0,0 +1,6 @@
mcd $BUILDDIR/libtool
$SRC/libtool-*/configure $TCONFIGARGS
make $J
make $J install

View File

@ -1,44 +0,0 @@
--- libtool-1.5.22/libtool.m4.anygcc 2005-12-18 22:53:17.000000000 +0100
+++ libtool-1.5.22/libtool.m4 2006-06-29 14:20:18.000000000 +0200
@@ -4294,6 +4294,9 @@
# Is the compiler the GNU C compiler?
with_gcc=$_LT_AC_TAGVAR(GCC, $1)
+gcc_dir=\`gcc -print-file-name=. | $SED 's,/\.$,,'\`
+gcc_ver=\`gcc -dumpversion\`
+
# An ERE matcher.
EGREP=$lt_EGREP
@@ -4427,11 +4430,11 @@
# Dependencies to place before the objects being linked to create a
# shared library.
-predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1)
+predep_objects=\`echo $lt_[]_LT_AC_TAGVAR(predep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
# Dependencies to place after the objects being linked to create a
# shared library.
-postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1)
+postdep_objects=\`echo $lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
# Dependencies to place before the objects being linked to create a
# shared library.
@@ -4443,7 +4446,7 @@
# The library search path used internally by the compiler when linking
# a shared library.
-compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1)
+compiler_lib_search_path=\`echo $lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
# Method to check whether dependent libraries are shared objects.
deplibs_check_method=$lt_deplibs_check_method
@@ -4523,7 +4526,7 @@
link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1)
# Compile-time system search path for libraries
-sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
+sys_lib_search_path_spec=\`echo $lt_sys_lib_search_path_spec | \$SED -e "s@\${gcc_dir}@\\\${gcc_dir}@g;s@\${gcc_ver}@\\\${gcc_ver}@g"\`
# Run-time system search path for libraries
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec

View File

@ -1,14 +0,0 @@
diff -up libtool-1.5.24/libltdl/ltdl.c.relativepath libtool-1.5.24/libltdl/ltdl.c
--- libtool-1.5.24/libltdl/ltdl.c.relativepath 2007-06-01 07:04:54.000000000 +0200
+++ libtool-1.5.24/libltdl/ltdl.c 2007-07-24 12:56:22.000000000 +0200
@@ -3225,7 +3225,9 @@ try_dlopen (phandle, filename)
}
if (!file)
{
- file = fopen (filename, LT_READTEXT_MODE);
+ /* don't open .la files in current directory, root might get tricked to run a binary in a prepared directory */
+ if(!strncmp((filename + strlen(filename) - 3), LTDL_ARCHIVE_EXT,3) || strstr(filename,"/"))
+ file = fopen (filename, LT_READTEXT_MODE);
}
/* If we didn't find the file by now, it really isn't there. Set

View File

@ -1,12 +0,0 @@
diff -up libtool-2.2.6/configure.echo libtool-2.2.6/configure
--- libtool-2.2.6/configure.echo 2008-12-03 09:26:03.000000000 -0500
+++ libtool-2.2.6/configure 2008-12-03 09:26:14.000000000 -0500
@@ -27606,7 +27606,7 @@ objdir=$objdir
SHELL=$lt_SHELL
# An echo program that does not interpret backslashes.
-ECHO=$lt_ECHO
+echo=$lt_ECHO
# Used to examine libraries when file_magic_cmd begins with "file".
MAGIC_CMD=$MAGIC_CMD

View File

@ -1,18 +0,0 @@
diff -up libtool-2.2.6/libltdl/m4/libtool.m4.rpath libtool-2.2.6/libltdl/m4/libtool.m4
--- libtool-2.2.6/libltdl/m4/libtool.m4.rpath 2008-09-05 07:54:41.000000000 -0400
+++ libtool-2.2.6/libltdl/m4/libtool.m4 2009-02-18 06:56:47.000000000 -0500
@@ -2470,10 +2470,13 @@ linux* | k*bsd*-gnu)
# before this can be enabled.
hardcode_into_libs=yes
+ # Add ABI-specific directories to the system library path.
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
+
# Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
fi
# We used to test for /lib/ld.so.1 and disable shared libraries on

35
libtool-2.4.5-rpath.patch Normal file
View File

@ -0,0 +1,35 @@
From f7e477ec085414991c8160c7394bfaf2b1425c67 Mon Sep 17 00:00:00 2001
From: Karsten Hopp <karsten@fedoraproject.org>
Date: Wed, 29 Oct 2014 13:27:27 +0100
Subject: [PATCH] remove /lib64 and /usr/lib64 rpath
---
m4/libtool.m4 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index f796d7b..41dd20a 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -2866,6 +2866,9 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
# before this can be enabled.
hardcode_into_libs=yes
+ # Add ABI-specific directories to the system library path.
+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
+
# Ideally, we could use ldconfig to report *all* directores which are
# searched for libraries, however this is still not possible. Aside from not
# being certain /sbin/ldconfig is available, command
@@ -2874,7 +2877,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
# appending ld.so.conf contents (and includes) to the search path.
if test -f /etc/ld.so.conf; then
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
- sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
+ sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
fi
# We used to test for /lib/ld.so.1 and disable shared libraries on
--
2.1.0

View File

@ -0,0 +1,53 @@
Enabling lto will result in failure during test phase, to be precise test 67 will cause it.
Compiler flags for this test (and most likely for rest of them) are inherited from actual build phase.
I'm not sure if this is expected.
Most distribution disables this test. We try to keep it by stripping lto flags for it.
Origin for this tests: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=391427
--- a/tests/link-order2.at 2015-01-16 19:52:04.000000000 +0100
+++ b/tests/link-order2_new.at 2021-11-30 02:01:09.574451906 +0100
@@ -47,6 +47,8 @@
AT_KEYWORDS([libtool])
AT_KEYWORDS([interactive])dnl running 'wrong' may cause a popup window.
+NO_LTO_CFLAGS=${CFLAGS/-flto*-ffat-lto-objects }
+
eval `$LIBTOOL --config | $EGREP '^(shlibpath_var|allow_undefined_flag)='`
undefined_setting=-no-undefined
@@ -89,12 +91,12 @@
EOF
for file in a0 a1 b; do
- $LIBTOOL --mode=compile $CC $CPPFLAGS $CFLAGS -c $file.c
+ $LIBTOOL --mode=compile $CC $CPPFLAGS $NO_LTO_CFLAGS -c $file.c
done
-$CC $CPPFLAGS $CFLAGS -c main.c
+$CC $CPPFLAGS $NO_LTO_CFLAGS -c main.c
# Build an old, installed library.
-$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o liba0.la a0.lo -rpath $deflibdir
+$LIBTOOL --mode=link $CC $NO_LTO_CFLAGS $LDFLAGS $static -o liba0.la a0.lo -rpath $deflibdir
$LIBTOOL --mode=install cp liba0.la $deflibdir/liba0.la
$LIBTOOL --mode=clean rm -f liba0.la
@@ -118,13 +120,13 @@
esac
test non-libtool,-static-libtool-libs = "$type_of_depdepl,$static" &&
static=-all-static
- $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o liba1.la a1.lo -rpath $libdir
- $LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o libb.la b.lo liba1.la -rpath $libdir
- AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o main$EXEEXT main.$OBJEXT libb.la -la0],
+ $LIBTOOL --mode=link $CC $NO_LTO_CFLAGS $LDFLAGS $static -o liba1.la a1.lo -rpath $libdir
+ $LIBTOOL --mode=link $CC $NO_LTO_CFLAGS $LDFLAGS $static -o libb.la b.lo liba1.la -rpath $libdir
+ AT_CHECK([$LIBTOOL --mode=link $CC $NO_LTO_CFLAGS $LDFLAGS $static -o main$EXEEXT main.$OBJEXT libb.la -la0],
[], [ignore], [ignore])
LT_AT_EXEC_CHECK([./main])
# Now test that if we reverse the link order, the program fails.
- AT_CHECK([$LIBTOOL --mode=link $CC $CFLAGS $LDFLAGS $static -o wrong$EXEEXT main.$OBJEXT -la0 libb.la],
+ AT_CHECK([$LIBTOOL --mode=link $CC $NO_LTO_CFLAGS $LDFLAGS $static -o wrong$EXEEXT main.$OBJEXT -la0 libb.la],
[], [ignore], [ignore])
if test yes, != "$shared_fails,$static"; then
LT_AT_EXEC_CHECK([./wrong], [1], [], [ignore], [|| (exit 1)])

View File

@ -0,0 +1,16 @@
diff -r -U5 libtool-2.4.6.old/tests/demo.at libtool-2.4.6/tests/demo.at
--- libtool-2.4.6.old/tests/demo.at 2022-01-31 22:15:48.539557030 +0100
+++ libtool-2.4.6/tests/demo.at 2022-02-01 09:43:30.262092074 +0100
@@ -508,11 +508,11 @@
## ----------- ##
AT_SETUP([force non-PIC objects])
AT_CHECK([case $host in
-hppa*|x86_64*|s390*)
+hppa*|x86_64*|s390*|arm*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)
# Libtool does not build non-PIC shared libs on these hosts
exit 77 ;;

View File

@ -0,0 +1,14 @@
diff --git a/Makefile.am b/Makefile.am
index 13dfc63..5c5603a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -311,6 +311,9 @@ libtool: $(ltmain_sh) $(config_status) $(dotversion)
include libltdl/ltdl.mk
+libltdl_libltdl_la_CPPFLAGS += $(CUSTOM_LTDL_CFLAGS)
+libltdl_libltdl_la_LDFLAGS += $(CUSTOM_LTDL_LDFLAGS)
+
lt_aclocal_m4 = $(srcdir)/$(ltdl_dir)/aclocal.m4
lt_config_h_in = $(srcdir)/$(ltdl_dir)/config-h.in
lt_configure = $(srcdir)/$(ltdl_dir)/configure

View File

@ -0,0 +1,58 @@
diff -r -U5 libtool-2.4.6/build-aux/ltmain.in libtool-2.4.6.new/build-aux/ltmain.in
--- libtool-2.4.6/build-aux/ltmain.in 2022-02-22 09:21:35.317958251 +0100
+++ libtool-2.4.6.new/build-aux/ltmain.in 2022-02-22 09:16:10.117571787 +0100
@@ -501,21 +501,14 @@
fi
# preserve --debug
test : = "$debug_cmd" || func_append preserve_args " --debug"
- case $host in
- # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
- # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
- *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
- # don't eliminate duplications in $postdeps and $predeps
- opt_duplicate_compiler_generated_deps=:
- ;;
- *)
- opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
- ;;
- esac
+ # Keeping compiler generated duplicates in $postdeps and $predeps is not
+ # harmful, and is necessary in a majority of systems that use it to satisfy
+ # symbol dependencies.
+ opt_duplicate_compiler_generated_deps=:
$opt_help || {
# Sanity checks first:
func_check_version_match
diff -r -U5 libtool-2.4.6/build-aux/ltmain.sh libtool-2.4.6.new/build-aux/ltmain.sh
--- libtool-2.4.6/build-aux/ltmain.sh 2015-02-15 17:15:12.000000000 +0100
+++ libtool-2.4.6.new/build-aux/ltmain.sh 2022-02-22 09:16:44.783613061 +0100
@@ -2413,21 +2413,14 @@
fi
# preserve --debug
test : = "$debug_cmd" || func_append preserve_args " --debug"
- case $host in
- # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
- # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
- *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
- # don't eliminate duplications in $postdeps and $predeps
- opt_duplicate_compiler_generated_deps=:
- ;;
- *)
- opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
- ;;
- esac
+ # Keeping compiler generated duplicates in $postdeps and $predeps is not
+ # harmful, and is necessary in a majority of systems that use it to satisfy
+ # symbol dependencies.
+ opt_duplicate_compiler_generated_deps=:
$opt_help || {
# Sanity checks first:
func_check_version_match

40
libtool-nodocs.patch Normal file
View File

@ -0,0 +1,40 @@
diff -up libtool-2.4.6/Makefile.in.nodocs libtool-2.4.6/Makefile.in
--- libtool-2.4.6/Makefile.in.nodocs 2017-04-21 12:46:20.704300023 +0200
+++ libtool-2.4.6/Makefile.in 2017-04-21 12:46:42.696840234 +0200
@@ -313,12 +313,11 @@ MAKEINFOHTML = $(MAKEINFO) --html
AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS)
DVIPS = dvips
RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
- ctags-recursive dvi-recursive html-recursive info-recursive \
- install-data-recursive install-dvi-recursive \
- install-exec-recursive install-html-recursive \
- install-info-recursive install-pdf-recursive \
- install-ps-recursive install-recursive installcheck-recursive \
- installdirs-recursive pdf-recursive ps-recursive \
+ ctags-recursive \
+ install-data-recursive \
+ install-exec-recursive \
+ install-recursive installcheck-recursive \
+ installdirs-recursive \
tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
@@ -361,8 +360,7 @@ am__define_uniq_tagged_files = \
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
-am__DIST_COMMON = $(dist_man1_MANS) $(doc_libtool_TEXINFOS) \
- $(srcdir)/Makefile.in $(srcdir)/config-h.in \
+am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config-h.in \
$(srcdir)/libltdl/ltdl.mk $(top_srcdir)/build-aux/compile \
$(top_srcdir)/build-aux/config.guess \
$(top_srcdir)/build-aux/config.sub \
@@ -1973,7 +1971,7 @@ info: info-recursive
info-am: $(INFO_DEPS)
install-data-am: install-data-local install-includeHEADERS \
- install-info-am install-ltdlincludeHEADERS install-man
+ install-ltdlincludeHEADERS
install-dvi: install-dvi-recursive

View File

@ -1,25 +1,67 @@
%define gcc_version 4.4.1
# See the bug #429880
%global gcc_major %(gcc -dumpversion || echo "666")
# See rhbz#1193591
%global automake_version %(set -- `automake --version | head -n 1` ; echo ${4-unknown})
%bcond_without check
Summary: The GNU Portable Library Tool
Name: libtool
Version: 2.2.6
Release: 14%{?dist}
Version: 2.4.7
Release: 2%{?dist}
License: GPLv2+ and LGPLv2+ and GFDL
Group: Development/Tools
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}a.tar.lzma
Patch0: libtool-2.2.6a-rpath.patch
URL: http://www.gnu.org/software/libtool/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRequires: autoconf >= 2.59, automake >= 1.9.2, texinfo
Requires: autoconf >= 2.58, automake >= 1.4, sed
# make sure we can configure all supported langs
BuildRequires: gcc, gcc-c++, libstdc++-devel, gcc-gfortran, gcc-java
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
# 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
Patch1: libtool-2.4.6-hardening.patch
# The testsuite seems to not properly handle template instantiation and as
# a result fails. libtool itself appears to be OK from my by-hand testing. (by Jeff Law)
# Disable LTO for link-order2 test (Related: #1988112)
Patch2: libtool-2.4.6-disable-lto-link-order2.patch
# non-PIC libraries are not supported on ARMv7
# Since we removed "-fPIC" from global CFLAGS this test fails on this arch (as expected)
# Please refer to the following ticket regarding PIC support on ARM:
# https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/503448
Patch3: libtool-2.4.6-disable_non-pic_arm.patch
# rhbz#2047389, patch sent upstream
# https://lists.gnu.org/archive/html/libtool-patches/2022-02/msg00000.html
Patch4: libtool-2.4.6-keep-compiler-deps.patch
%if ! 0%{?_module_build}
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
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
%if ! 0%{?_module_build}
BuildRequires: texinfo
%endif
BuildRequires: autoconf, automake
BuildRequires: help2man
# make sure we can configure all supported langs
BuildRequires: libstdc++-devel, gcc-gfortran
BuildRequires: gcc, gcc-c++
BuildRequires: make
%description
GNU Libtool is a set of shell scripts which automatically configure UNIX and
@ -31,18 +73,17 @@ If you are developing programs which will use shared libraries, but do not use
the rest of the GNU Autotools (such as GNU Autoconf and GNU Automake), you
should install the libtool package.
The libtool package also includes all files needed to integrate the GNU
The libtool package also includes all files needed to integrate the GNU
Portable Library Tool (libtool) and the GNU Libtool Dynamic Module Loader
(ltdl) into a package built using the GNU Autotools (including GNU Autoconf
and GNU Automake).
%package ltdl
Summary: Runtime libraries for GNU Libtool Dynamic Module Loader
Group: System Environment/Libraries
Provides: %{name}-libs = %{version}-%{release}
License: LGPLv2+
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%description ltdl
The libtool-ltdl package contains the GNU Libtool Dynamic Module Loader, a
@ -50,98 +91,407 @@ library that provides a consistent, portable interface which simplifies the
process of using dynamic modules.
These runtime libraries are needed by programs that link directly to the
system-installed ltdl libraries; they are not needed by software built using
system-installed ltdl libraries; they are not needed by software built using
the rest of the GNU Autotools (including GNU Autoconf and GNU Automake).
%package ltdl-devel
Summary: Tools needed for development using the GNU Libtool Dynamic Module Loader
Group: Development/Libraries
Requires: automake = %automake_version
Requires: %{name}-ltdl = %{version}-%{release}
License: LGPLv2+
%description ltdl-devel
Static libraries and header files for development with ltdl.
%prep
%setup -n libtool-%{version} -q
%patch0 -p1 -b .rpath
%autosetup -n libtool-%{version} -p1
autoreconf -v
%build
./bootstrap
%configure
%make_build \
CUSTOM_LTDL_CFLAGS="%_hardening_cflags" \
CUSTOM_LTDL_LDFLAGS="%_hardening_ldflags"
export CC=gcc
export CXX=g++
export F77=gfortran
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
# don't conflict with libtool-1.5, use own directory:
sed -e 's/pkgdatadir="\\${datadir}\/\$PACKAGE"/pkgdatadir="\\${datadir}\/\${PACKAGE}"/' configure > configure.tmp; mv -f configure.tmp configure; chmod a+x configure
./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --bindir=%{_bindir} --sbindir=%{_sbindir} --sysconfdir=%{_sysconfdir} --datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} --localstatedir=%{_localstatedir} --mandir=%{_mandir} --infodir=%{_infodir}
# build not smp safe:
make #%{?_smp_mflags}
%check
#make check VERBOSE=yes > make_check.log 2>&1 || (cat make_check.log && false)
%if %{with check}
make check VERBOSE=yes || { cat tests/testsuite.dir/*/testsuite.log ; false ; }
%endif
%install
rm -rf %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
# info's TOP dir (by default owned by info)
rm -f %{buildroot}%{_infodir}/dir
rm -f %{buildroot}%{_libdir}/libltdl.la %{buildroot}%{_libdir}/libltdl.a
%clean
rm -rf %{buildroot}
%post
/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || :
%post ltdl -p /sbin/ldconfig
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete %{_infodir}/libtool.info.gz %{_infodir}/dir || :
fi
%postun ltdl -p /sbin/ldconfig
# *.la *.a files generated by libtool shouldn't be distributed (and the
# `./configure --disable-static' breaks testsuite)
rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog*
%license COPYING
%doc AUTHORS NEWS README THANKS TODO ChangeLog*
%{_infodir}/libtool.info*.gz
%{_mandir}/man1/libtool.1*
%{_mandir}/man1/libtoolize.1*
%{_bindir}/libtool
%{_bindir}/libtoolize
%{_datadir}/aclocal/*.m4
%exclude %{_datadir}/libtool/libltdl
%{_datadir}/libtool
%dir %{_datadir}/libtool
%{_datadir}/libtool/build-aux
%files ltdl
%defattr(-,root,root)
%doc libltdl/COPYING.LIB libltdl/README
%license libltdl/COPYING.LIB
%{_libdir}/libltdl.so.*
%dir %{_datadir}/libtool
%files ltdl-devel
%defattr(-,root,root)
%{_datadir}/libtool/libltdl
%{_libdir}/libltdl.so
%license libltdl/COPYING.LIB
%doc libltdl/README
%{_datadir}/libtool
%exclude %{_datadir}/libtool/build-aux
%{_includedir}/ltdl.h
%{_includedir}/libltdl
# .so files without version must be in -devel subpackage
%{_libdir}/libltdl.so
%changelog
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Mar 21 2022 Frederic Berat <fberat@redhat.com> - 2.4.7-1
- Rebase to libtool 2.4.7 (#2065004)
* Thu Feb 17 2022 Frederic Berat <fberat@redhat.com> - 2.4.6-50
- Keep compiler generated list of library dependencies.
* Sun Feb 13 2022 Jeff Law <jeffreyalaw@gmail.com> - 2.4.6-49
- Re-enable LTO (completing change from Nov 29, 2021)
* Tue Feb 01 2022 Frederic Berat <fberat@redhat.com> - 2.4.6-48
- Add support for "-fsanitize", rhbz#2024647
- Add support for "-fuse-ld", rhbz#2024647
- Use make macros (based on Tom Stellard work for f33 and Timm Bäder)
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
- Disable non-PIC test for ARM as this is not supported on this arch
- Use autosetup
- Use plain %%configure
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 10 2022 Jakub Jelinek <jakub@redhat.com> - 2.4.6-46
- bump: for gcc 12.* in rawhide
* Mon Nov 29 2021 Marek Kulik <mkulik@redhat.com> - 2.4.6-45
- Enable LTO build
- Add disable-lto-link-order2.patch to pass tests
* Mon Oct 04 2021 Ondrej Dubaj <odubaj@redhat.com> - 2.4.6-44
- rebuild with automake-1.16.5
* Mon Aug 30 2021 Ondrej Dubaj <odubaj@redhat.com> - 2.4.6-43
- rebuild with automake-1.16.4
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Thu Mar 25 2021 Ondrej Dubaj <odubaj@redhat.com> - 2.4.6-41
- rebuild with automake-1.16.3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 07 2020 Jakub Jelinek <jakub@redhat.com> - 2.4.6-39
- bump: for gcc 11.* in eln
* Sun Dec 06 2020 Jakub Jelinek <jakub@redhat.com> - 2.4.6-38
- bump: for gcc 11.* in rawhide
* Wed Oct 21 2020 Jakub Jelinek <jakub@redhat.com> - 2.4.6-37
- bump: for gcc 11.* in eln
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-36
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Tue Apr 21 2020 Jeff Law <law@redhat.com> - 2.4.6-35
- Disable LTO
* Tue Apr 21 2020 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-34
- bump for new automake, rhbz#1815814
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 20 2020 Jakub Jelinek <jakub@redhat.com> - 2.4.6-32
- bump: for gcc 10.*
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Wed Apr 24 2019 Björn Esser <besser82@fedoraproject.org> - 2.4.6-30
- Remove hardcoded gzip suffix from GNU info pages
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 21 2019 Björn Esser <besser82@fedoraproject.org> - 2.4.6-28
- bump: for gcc 9.*
* Tue Aug 28 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-27
- BR gcc, gcc-c++ (rhbz#1623078)
* Tue Aug 28 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-26
- cleanup post/postun, there are RPM triggers nowadays
- fix error: line 2642: func__fatal_error: command not found (rhbz#1622611)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Apr 20 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-24
- harden libltdl.so (rhbz#1548751)
* Mon Mar 26 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-23
- bake in versioned requirement on automake (rhbz#1193591)
- fix testsuite FTBFS against automake 1.16.1
- bypass -specs=* to gcc (rhbz#985592)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Mon Jan 29 2018 Jakub Jelinek <jakub@redhat.com> - 2.4.6-21
- bump: for gcc 8.*
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Fri Apr 21 2017 Karsten Hopp <karsten@redhat.com> - 2.4.6-18
- use new _module_build macro to limit dependencies for Modularity
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 02 2017 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-16
- use %%license (rhbz#1418518)
* 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'
* Thu Dec 22 2016 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-13
- bump: for gcc 6.3.1
* Fri Sep 02 2016 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-12
- bump: for gcc 6.2.1
* Thu Apr 28 2016 Igor Gnatenko <ignatenko@redhat.com> - 2.4.6-11
- Rebuilt for gcc 6.1.1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Jan 28 2016 Jakub Jelinek <jakub@redhat.com> - 2.4.6-9
- rebuilt for gcc 6.0.0
* Tue Dec 08 2015 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-8
- disable hardening (#1289759)
* Tue Dec 08 2015 Kalev Lember <klember@redhat.com> - 2.4.6-7
- Rebuilt for gcc 5.3.1
* Thu Nov 5 2015 Orion Poplawski <orion@cora.nwra.com> - 2.4.6-6
- Rebuild for gcc 5.2.1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Apr 25 2015 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-4
- don't hack the hardening flag into pre-built libtool
* Thu Apr 23 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.6-3
- rebuilt for gcc 5.1.1
* Tue Apr 14 2015 Kalev Lember <kalevlember@gmail.com> - 2.4.6-2
- rebuilt for gcc 5.0.1
* Tue Feb 17 2015 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-1
- rebase to most recent upstream release 2.4.6 (#1159497)
* Fri Feb 06 2015 Jakub Jelinek <jakub@redhat.com> - 2.4.2-32
- rebuilt for gcc 5.0.0
* Sun Nov 02 2014 Jakub Jelinek <jakub@redhat.com> - 2.4.2-31
- rebuilt for gcc 4.9.2
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jul 19 2014 Kalev Lember <kalevlember@gmail.com> - 2.4.2-29
- Rebuild once more for gcc 4.9.1
* Fri Jul 18 2014 Peter Robinson <pbrobinson@fedoraproject.org> 2.4.2-28
- Bump again for gcc 4.9.1 in F-21
* Thu Jul 17 2014 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-27
- rebuild for gcc 4.9.1
* Mon Jun 09 2014 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-26
- gcc-java removed from Fedora completely (#1106080)
- spec cleanup and implement RPM/SRPM hack (#429880)
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Apr 10 2014 Jakub Jelinek <jakub@redhat.com> - 2.4.2-24
- rebuilt for gcc 4.9.0
* Tue Jan 07 2014 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-23
- require findutils (minimal installations) (#1047084)
* Wed Oct 23 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-22
- fix powerpcle patch to reflect what is really in upstream
* Thu Oct 17 2013 Jakub Jelinek <jakub@redhat.com> - 2.4.2-21
- rebuilt for gcc 4.8.2
* Tue Oct 15 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-20
- backport support for powerpc*le-linux to libtool.m4
* Thu Oct 10 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-19
- rebuild once again for new config.{sub,guess} in redhat-rpm-config
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Jul 10 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-17
- version bump
* Tue Jun 04 2013 Jakub Jelinek <jakub@redhat.com> - 2.4.2-16
- rebuilt for gcc 4.8.1
* Tue May 07 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-15
- revert fix for #636045, thanks to Paolo Bonzini
* Fri Apr 26 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-14
- allow root to copy files into NFS in libtoolize (#740079)
- pre-filter sed's input by dd (#636045)
* Thu Mar 14 2013 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-13
- do not BR gcc-java in RHEL (by dmach)
* Thu Jan 24 2013 Jakub Jelinek <jakub@redhat.com> - 2.4.2-12
- rebuilt for gcc 4.8.0
* Thu Dec 06 2012 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-11
- remove specific version requirements on automake/autoconf
* Thu Oct 25 2012 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-10
- temporarily disable the 'gcj' tests (#869578) -- this is just to (1) allow
build under f18+ and RHEL-7.0 and (2) don't through out upstream testsuite.
Added patch must be removed once the 'ecj' utility is fixed
- libtool-ltdl shouldn't own /usr/share/libtool/ directory
- move the .so file without version back to devel package (sorry for that)
* Mon Oct 22 2012 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-9
- fix fedora-review warnings: s/RPM_BUILD_ROOT/buildroot/, remove trailing
white-spaces, move libltdl.so to ltdl sub-package, remove unnecessary BR
- remove unnecessary newlines
- fix the BuildRequire ~> Require only (#79467 related)
- fix weird build circumstances (don't call ./bootstrap, don't call autoconf
manually, do not touch configure script)
- remove 'tee' invocation for copying testsuite output (the file
'test-suite.log' is good enough)
* Thu Oct 04 2012 Pavel Raiskup <praiskup@redhat.com> - 2.4.2-8
- make the libtool dependant on tar (#794675)
* Fri Sep 21 2012 Dan Horák <dan[at]danny.cz> - 2.4.2-7
- rebuild for gcc 4.7.2
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Sun Jul 15 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 2.4.2-5
- Rebuild
* Fri Jun 29 2012 Richard W.M. Jones <rjones@redhat.com> - 2.4.2-4
- Rebuild for gcc 4.7.1 which just entered Rawhide.
* Thu Jan 5 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.2-3
- really rebuild for gcc 4.7.0
* Tue Jan 3 2012 Jakub Jelinek <jakub@redhat.com> 2.4.2-2
- rebuilt for gcc 4.7.0
* Fri Dec 2 2011 Tom Callaway <spot@fedoraproject.org> 2.4.2-1
- update to 2.4.2
* Thu Oct 27 2011 Jakub Jelinek <jakub@redhat.com> 2.4-7
- rebuilt for gcc 4.6.2
* Tue Jun 28 2011 Peter Robinson <pbrobinson@gmail.com> - 2.4-6
- actually update the hardwired gcc version
* Tue Jun 28 2011 Peter Robinson <pbrobinson@gmail.com> - 2.4-5
- Rebuild for gcc 4.6.1
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Sat Jan 22 2011 Christopher Aillon <caillon@redhat.com> 2.4-3
- rebuilt for gcc 4.6.0
* Mon Dec 06 2010 Adam Jackson <ajax@redhat.com> 2.4-2
- rebuilt for gcc 4.5.1
* Mon Dec 06 2010 Karsten Hopp <karsten@redhat.com> 2.4-1
- update to libtool-2.4
* Wed Jul 7 2010 Jakub Jelinek <jakub@redhat.com> 2.2.10-2
- rebuilt for gcc 4.5.0
* Thu Jun 24 2010 Karsten Hopp <karsten@redhat.com> 2.2.10-1
- update to libtool-2.2.10
* Sat May 1 2010 Jakub Jelinek <jakub@redhat.com> 2.2.6-20
- rebuilt for gcc 4.4.4
* Mon Apr 12 2010 Karsten Hopp <karsten@redhat.com> 2.2.6-19
- enable selfcheck
- convert changelog files to utf8 (#226050)
* Thu Jan 21 2010 Jakub Jelinek <jakub@redhat.com> 2.2.6-18
- rebuilt for gcc 4.4.3
* Wed Dec 02 2009 Karsten Hopp <karsten@redhat.com> 2.2.6-17
- fix directory name used in libtool tarball
* Wed Dec 02 2009 Karsten Hopp <karsten@redhat.com> 2.2.6-16
- make sure that NVR is higher than previous version
* Wed Dec 02 2009 Karsten Hopp <karsten@redhat.com> 2.2.6b-2
- fix gcc version
* Tue Dec 01 2009 Karsten Hopp <karsten@redhat.com> 2.2.6b-1
- update to 2.2.6b, fixes CVE-2009-3736:
libltdl may load and execute code from a library in the current directory
* Wed Aug 12 2009 Ville Skyttä <ville.skytta@iki.fi> - 2.2.6-14
- Use lzma compressed upstream tarball.
@ -236,8 +586,8 @@ fi
* Thu Dec 07 2006 Karsten Hopp <karsten@redhat.com> 1.5.22-7
- update config.guess, config.sub with newer files from automake-1.10
- skip over lines in /etc/ld.so.conf.d/* which don't look like absolute paths
(p.e. files from kernel-xen). This avoids having unwanted relative paths in
- skip over lines in /etc/ld.so.conf.d/* which don't look like absolute paths
(p.e. files from kernel-xen). This avoids having unwanted relative paths in
lib_search_path
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.5.22-6.1
@ -376,7 +726,7 @@ fi
- rebuild
* Thu Jul 17 2003 Jens Petersen <petersen@redhat.com> - 1.5-5
- bring back libtool-1.4.2-demo.patch to disable nopic tests on amd64
- bring back libtool-1.4.2-demo.patch to disable nopic tests on amd64
and s390x again
* Tue Jul 15 2003 Owen Taylor <otaylor@redhat.com>
@ -387,7 +737,7 @@ fi
[reported by twaugh]
- use -nostdlib also when linking with g++ and non-GNU ld in
_LT_AC_LANG_CXX_CONFIG [reported by fnasser, patch by aoliva]
- use %%configure with CC and CXX set
- use %%configure with CC and CXX set
* Thu Jun 12 2003 Jens Petersen <petersen@redhat.com> - 1.5-3
- don't use %%configure since target options caused libtool to assume
@ -467,7 +817,7 @@ fi
* Fri Sep 13 2002 Nalin Dahyabhai <nalin@redhat.com>
- patch to find the proper libdir on multilib boxes
* Mon Aug 19 2002 Jens Petersen <petersen@redhat.com> 1.4.2-12
- don't include demo in doc, specially now that we "make check" (#71609)
@ -588,7 +938,7 @@ fi
- disable the --cache-file passing to ltconfig; this breaks the older
ltconfig scripts found around.
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 2)
* Fri Mar 19 1999 Jeff Johnson <jbj@redhat.com>

View File

@ -1 +1 @@
b121e4848cc53fdd69e796aed73b9ccf libtool-2.2.6a.tar.lzma
SHA512 (libtool-2.4.7.tar.xz) = 47f4c6de40927254ff9ba452612c0702aea6f4edc7e797f0966c8c6bf0340d533598976cdba17f0bdc64545572e71cd319bbb587aa5f47cd2e7c1d96f873a3da