packaging cleanup
- drop Group - use triggers, instead of %post/%postun Version: 2.4.6-26
This commit is contained in:
parent
e739c222eb
commit
e2559a5996
26
libtool.spec
26
libtool.spec
@ -8,10 +8,9 @@
|
|||||||
Summary: The GNU Portable Library Tool
|
Summary: The GNU Portable Library Tool
|
||||||
Name: libtool
|
Name: libtool
|
||||||
Version: 2.4.6
|
Version: 2.4.6
|
||||||
Release: 25%{?dist}
|
Release: 26%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+ and GFDL
|
License: GPLv2+ and LGPLv2+ and GFDL
|
||||||
URL: http://www.gnu.org/software/libtool/
|
URL: http://www.gnu.org/software/libtool/
|
||||||
Group: Development/Tools
|
|
||||||
|
|
||||||
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
|
Source: http://ftp.gnu.org/gnu/libtool/libtool-%{version}.tar.xz
|
||||||
|
|
||||||
@ -41,8 +40,6 @@ Patch100: libtool-nodocs.patch
|
|||||||
# number changes need libtool rebuilding.
|
# number changes need libtool rebuilding.
|
||||||
Requires: gcc(major) = %{gcc_major}
|
Requires: gcc(major) = %{gcc_major}
|
||||||
Requires: autoconf, automake, sed, tar, findutils
|
Requires: autoconf, automake, sed, tar, findutils
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
%if ! 0%{?_module_build}
|
%if ! 0%{?_module_build}
|
||||||
BuildRequires: texinfo
|
BuildRequires: texinfo
|
||||||
@ -75,8 +72,6 @@ Summary: Runtime libraries for GNU Libtool Dynamic Module Loader
|
|||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Provides: %{name}-libs = %{version}-%{release}
|
Provides: %{name}-libs = %{version}-%{release}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(postun): /sbin/ldconfig
|
|
||||||
|
|
||||||
|
|
||||||
%description ltdl
|
%description ltdl
|
||||||
@ -152,22 +147,6 @@ rm -f %{buildroot}%{_infodir}/dir
|
|||||||
rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
|
rm -f %{buildroot}%{_libdir}/libltdl.{a,la}
|
||||||
|
|
||||||
|
|
||||||
%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
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS README THANKS TODO ChangeLog*
|
%doc AUTHORS NEWS README THANKS TODO ChangeLog*
|
||||||
@ -198,6 +177,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 28 2018 Pavel Raiskup <praiskup@redhat.com> - 2.4.6-26
|
||||||
|
- cleanup post/postun, there are RPM triggers nowadays
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-25
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.6-25
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user