Replace obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-07-28 10:23:06 +02:00
parent 3ac848a398
commit 6fe1a53628
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -5,7 +5,7 @@
Name: liblouis
Version: 3.6.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Braille translation and back-translation library
Group: System Environment/Libraries
@ -25,9 +25,6 @@ BuildRequires: texlive-xetex
BuildRequires: python2-devel
BuildRequires: python3-devel
Requires(post): info
Requires(preun): info
# gnulib is a copylib that has been granted an exception from the no-bundled-libraries policy
# http://fedoraproject.org/wiki/Packaging:No_Bundled_Libraries#Copylibs
Provides: bundled(gnulib) = 20130621
@ -147,18 +144,7 @@ for f in %{buildroot}%{_bindir}/lou_* ; do
done
%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
%postun -p /sbin/ldconfig
%preun
if [ $1 = 0 ] ; then
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
fi
%ldconfig_scriptlets
%files
@ -192,6 +178,9 @@ fi
%changelog
* Sat Jul 28 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.6.0-3
- Replace obsolete scriptlets
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild