Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-18 22:55:39 +01:00
commit 3d2bd08088

View file

@ -17,7 +17,7 @@
Summary: Calculate tide all over the world
Name: xtide
Version: %{mainver}
Release: %{rel}%{?dist}
Release: %{rel}%{?dist}.1
URL: http://www.flaterco.com/xtide/
Source0: ftp://ftp.flaterco.com/xtide/%{name}-%{version}%{?betatag:-%betatag}.tar.bz2
@ -306,8 +306,6 @@ cp -a harmonics-dwf-%{dwfdate}/[A-Z]* \
rm -rf $RPM_BUILD_ROOT%{_libdir}/libxtide.{a,la}
%post
touch --no-create %{_datadir}/icons/hicolor || :
%if 0%{?use_systemd_unit}
%systemd_post xttpd.socket xttpd.service
%else
@ -354,10 +352,6 @@ fi
%endif
exit 0
%posttrans
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
exit 0
%post -n libxtide -p /sbin/ldconfig
%postun -n libxtide -p /sbin/ldconfig
@ -418,6 +412,9 @@ exit 0
%{_datadir}/man/man8/xttpd.8*
%changelog
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.15.1-4.1
- Remove obsolete scriptlets
* Fri Sep 22 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.15.1-4
- F-28: rebuild for gpsd