Split RPM scriptlets (#1563832)
This commit is contained in:
parent
0040b55658
commit
b31e43be0d
16
libidn2.spec
16
libidn2.spec
@ -1,7 +1,7 @@
|
||||
Summary: Library to support IDNA2008 internationalized domain names
|
||||
Name: libidn2
|
||||
Version: 2.0.4
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: (GPLv2+ or LGPLv3+) and GPLv3+
|
||||
URL: https://www.gnu.org/software/libidn/#libidn2
|
||||
|
||||
@ -74,17 +74,18 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/info/dir
|
||||
%check
|
||||
make %{?_smp_mflags} -C tests check
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n idn2
|
||||
/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
||||
|
||||
%preun
|
||||
%preun -n idn2
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING COPYING.LESSERv3 COPYING.unicode COPYINGv2
|
||||
%doc AUTHORS NEWS README.md
|
||||
@ -104,6 +105,9 @@ fi
|
||||
%{_infodir}/%{name}.info*
|
||||
|
||||
%changelog
|
||||
* Wed Apr 04 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-7
|
||||
- Split RPM scriptlets (#1563832)
|
||||
|
||||
* Mon Apr 02 2018 Robert Scheck <robert@fedoraproject.org> 2.0.4-6
|
||||
- Use splitting suggestions from Nikos Mavrogiannopoulos instead
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user