Remove ldconfig macros.
Technically since 3.5 is probably going to be rawhide-only, we could just remove ldconfig from the scriptlets entirely. But just in case, I converted to the new macros.
This commit is contained in:
parent
baef040d8a
commit
ebbd6288d3
1 changed files with 10 additions and 10 deletions
20
amanda.spec
20
amanda.spec
|
|
@ -10,7 +10,7 @@
|
|||
Summary: A network-capable tape backup solution
|
||||
Name: amanda
|
||||
Version: 3.5.1
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Source: http://downloads.sourceforge.net/amanda/amanda-%{version}.tar.gz
|
||||
Source1: amanda.crontab
|
||||
Source4: disklist
|
||||
|
|
@ -44,6 +44,8 @@ BuildRequires: libcurl-devel procps-ng systemd
|
|||
Requires: grep tar /bin/mail
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires: amanda-libs%{?_isa} = %{version}-%{release}
|
||||
Requires(post): /sbin/ldconfig
|
||||
Requires(postun): /sbin/ldconifg
|
||||
%{?systemd_requires}
|
||||
|
||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(Math::BigInt\\)
|
||||
|
|
@ -181,7 +183,7 @@ make check
|
|||
/usr/bin/gpasswd -a %amanda_user tape >/dev/null 2>&1 || :
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%{?ldconfig}
|
||||
%systemd_post amanda.socket
|
||||
%systemd_post amanda-udp.socket
|
||||
%systemd_post kamanda.socket
|
||||
|
|
@ -192,18 +194,13 @@ make check
|
|||
%systemd_preun kamanda.socket
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%{?ldconfig}
|
||||
%systemd_postun_with_restart amanda.socket
|
||||
%systemd_postun_with_restart amanda-udp.socket
|
||||
%systemd_postun_with_restart kamanda.socket
|
||||
|
||||
%post client -p /sbin/ldconfig
|
||||
|
||||
%post server -p /sbin/ldconfig
|
||||
|
||||
%postun client -p /sbin/ldconfig
|
||||
|
||||
%postun server -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets client
|
||||
%ldconfig_scriptlets server
|
||||
|
||||
%files
|
||||
%license COPYRIGHT
|
||||
|
|
@ -432,6 +429,9 @@ make check
|
|||
|
||||
|
||||
%changelog
|
||||
* Wed Feb 14 2018 Jason L Tibbitts III <tibbs@math.uh.edu> - 3.5.1-7
|
||||
- Convert to ldconfig macros.
|
||||
|
||||
* Wed Feb 14 2018 Josef Ridky <jridky@redhat.com> - 3.5.1-6
|
||||
- Remove Group tag
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue