Compare commits

..
Author SHA1 Message Date
openeuler-ci-bot 6625136a87 !9 fix F77 language support, Fortran language support, Libtool stress test fail on standard_x86_64
From: @tong_1001
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-05-29 16:43:46 +08:00
xia_qirong 5fb6bd943f fix F77 language support, Fortran language support, Libtool stress test fail on standard_x86_64 2021-05-29 13:00:17 +08:00
openeuler-ci-bot 1fe607a71b !4 add necessary BuildRequires
Merge pull request !4 from chengquan/developer
2020-03-20 15:25:20 +08:00
chengquan a8dfb8aee5 add necessary BuildRequires 2020-03-19 19:41:20 +08:00
openeuler-ci-bot 131d600191 !3 Fixbug in wrong dependency of kernel-devel
Merge pull request !3 from chengquan/developer
2020-01-20 16:23:38 +08:00
chengquan 046f71870c Fixbug in wrong dependency of kernel-devel 2020-01-20 15:41:03 +08:00
+30 -11
View File
@@ -3,7 +3,7 @@
Name: libtool
Version: 2.4.6
Release: 30
Release: 33
License: GPLv2+ and LGPLv2+ and GFDL
Summary: The GNU Portable Library Tool
URL: http://www.gnu.org/software/libtool/
@@ -16,26 +16,30 @@ Patch6001: libtool-fix-GCC-linking-with-specs.patch
Requires: gcc(major),autoconf, automake, sed, tar, findutils
BuildRequires: texinfo,autoconf, automake,help2man
BuildRequires: libstdc++-devel, gcc-gfortran,gcc, gcc-c++
Provides: %{name}-ltdl
Obsoletes: %{name}-ltdl
BuildRequires: texinfo autoconf automake help2man gdb
BuildRequires: libstdc++-devel gcc-gfortran gcc gcc-c++
%description
GNU libtool is a generic library support script.
Libtool hides the complexity of using shared libraries behind a consistent, portable interface.
%package ltdl
Summary: Runtime libraries for GNU Libtool Dynamic Module Loader
Provides: %{name}-libs = %{version}-%{release}
%description ltdl
The libtool-ltdl package contains the GNU Libtool Dynamic Module Loader, a
library that provides a consistent, portable interface which simplifies the
process of using dynamic modules.
%package devel
Summary: Tools needed for development using the GNU Libtool Dynamic Module Loader
License: LGPLv2+
Requires: automake
Requires: %{name} = %{version}-%{release}
Requires: %{name}-ltdl = %{version}-%{release}
Provides: %{name}-ltdl-devel
Obsoletes: %{name}-ltdl-devel
%description devel
Static libraries and header files for development with ltdl.
@@ -53,6 +57,10 @@ export F77=gfortran
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
export FFLAGS=$(echo "$RPM_OPT_FLAGS -I/usr/lib64/gfortran/modules"| sed 's/-fstack-protector-strong/ /g')
export FCFLAGS=$(echo "$RPM_OPT_FLAGS -I/usr/lib64/gfortran/modules"| sed 's/-fstack-protector-strong/ /g')
%ifarch x86_64
export FFLAGS="$RPM_OPT_FLAGS -fPIE"
export FCFLAGS="$RPM_OPT_FLAGS -fPIE"
%endif
%configure
@@ -68,15 +76,17 @@ rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
%files
%license COPYING
%license libltdl/COPYING.LIB
%doc AUTHORS NEWS THANKS TODO ChangeLog*
%{_bindir}/libtool
%{_bindir}/libtoolize
%{_libdir}/libltdl.so.*
%{_datadir}/aclocal/*.m4
%dir %{_datadir}/libtool
%{_datadir}/libtool/build-aux
%files ltdl
%license libltdl/COPYING.LIB
%{_libdir}/libltdl.so.*
%files devel
%license libltdl/COPYING.LIB
%doc libltdl/README
@@ -94,6 +104,15 @@ rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
%changelog
* Sat May 29 2021 shixuantong <shixuantong@huawei.com> - 2.4.6-33
- fix F77 language support, Fortran language support, Libtool stress test fail on standard_x86_64
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.4.6-32
- add necessary BuildRequires
* Mon Jan 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.4.6-31
- fixbug in wrong dependency of kernel-devel
* Wed Jan 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.4.6-30
- format patches