Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
b1dd29e2ef
commit
db98443206
@ -9,7 +9,7 @@
|
|||||||
Summary: Linux Key Management Utilities
|
Summary: Linux Key Management Utilities
|
||||||
Name: keyutils
|
Name: keyutils
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 3%{?buildid}%{?dist}
|
Release: 4%{?buildid}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
ExclusiveOS: Linux
|
ExclusiveOS: Linux
|
||||||
@ -60,11 +60,10 @@ make \
|
|||||||
SHAREDIR=%{datadir} \
|
SHAREDIR=%{datadir} \
|
||||||
RELEASE=.%{release} \
|
RELEASE=.%{release} \
|
||||||
NO_GLIBC_KEYERR=1 \
|
NO_GLIBC_KEYERR=1 \
|
||||||
CFLAGS="-Wall $RPM_OPT_FLAGS -Werror" \
|
CFLAGS="-Wall $RPM_OPT_FLAGS" \
|
||||||
LDFLAGS="%{?__global_ldflags}"
|
LDFLAGS="%{?__global_ldflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make \
|
make \
|
||||||
NO_ARLIB=1 \
|
NO_ARLIB=1 \
|
||||||
DESTDIR=$RPM_BUILD_ROOT \
|
DESTDIR=$RPM_BUILD_ROOT \
|
||||||
@ -78,16 +77,10 @@ make \
|
|||||||
SHAREDIR=%{datadir} \
|
SHAREDIR=%{datadir} \
|
||||||
install
|
install
|
||||||
|
|
||||||
%clean
|
%ldconfig_scriptlets libs
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc README
|
%doc README
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license LICENCE.GPL
|
%license LICENCE.GPL
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
@ -98,20 +91,20 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%config(noreplace) %{_sysconfdir}/*
|
%config(noreplace) %{_sysconfdir}/*
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{!?_licensedir:%global license %%doc}
|
|
||||||
%license LICENCE.LGPL
|
%license LICENCE.LGPL
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
%{_libdir}/libkeyutils.so.%{libapiversion}
|
%{_libdir}/libkeyutils.so.%{libapiversion}
|
||||||
%{_libdir}/libkeyutils.so.%{libapivermajor}
|
%{_libdir}/libkeyutils.so.%{libapivermajor}
|
||||||
|
|
||||||
%files libs-devel
|
%files libs-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%{_libdir}/libkeyutils.so
|
%{_libdir}/libkeyutils.so
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.10-4
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.10-3
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.10-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user