mirror of
https://abf.rosa.ru/djam/nss.git
synced 2025-02-23 08:22:50 +00:00
fix script requires
This commit is contained in:
parent
38ccb8d5dc
commit
a8a856206a
1 changed files with 8 additions and 7 deletions
15
nss.spec
15
nss.spec
|
@ -173,6 +173,8 @@ Summary: Network Security Services (NSS)
|
|||
Group: System/Libraries
|
||||
Requires(post): nss-shlibsign
|
||||
Requires(post): rpm-helper
|
||||
Requires(post): coreutils
|
||||
Requires(post): /bin/sh
|
||||
Conflicts: %{_lib}nss3 < 2:3.13.1-5
|
||||
|
||||
%description -n %{libfreebl}
|
||||
|
@ -186,6 +188,12 @@ This package contains the shared libraries libfreebl3 and libsoftokn3.
|
|||
%ghost /%{_lib}/libfreebl%{major}.chk
|
||||
%ghost /%{_lib}/libsoftokn%{major}.chk
|
||||
|
||||
%posttrans -n %{libfreebl}
|
||||
%create_ghostfile /%{_lib}/libsoftokn%{major}.chk root root 644
|
||||
%create_ghostfile /%{_lib}/libfreebl%{major}.chk root root 644
|
||||
%{_bindir}/shlibsign -i /%{_lib}/libsoftokn%{major}.so >/dev/null 2>/dev/null
|
||||
%{_bindir}/shlibsign -i /%{_lib}/libfreebl%{major}.so >/dev/null 2>/dev/null
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
%package -n %{devname}
|
||||
|
@ -450,10 +458,3 @@ install -m0755 libnssckbi_empty.so %{buildroot}/%{_lib}/libnssckbi_empty.so
|
|||
|
||||
%multiarch_binaries %{buildroot}%{_bindir}/nss-config
|
||||
|
||||
%if %with lib
|
||||
%posttrans -n %{libfreebl}
|
||||
%create_ghostfile /%{_lib}/libsoftokn%{major}.chk root root 644
|
||||
%create_ghostfile /%{_lib}/libfreebl%{major}.chk root root 644
|
||||
%{_bindir}/shlibsign -i /%{_lib}/libsoftokn%{major}.so >/dev/null 2>/dev/null
|
||||
%{_bindir}/shlibsign -i /%{_lib}/libfreebl%{major}.so >/dev/null 2>/dev/null
|
||||
%endif
|
||||
|
|
Loading…
Add table
Reference in a new issue