Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-06 10:49:34 +01:00
parent 320e676a51
commit 8312e0ac71

View File

@ -1,6 +1,6 @@
Name: libgweather
Version: 3.26.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A library for weather information
License: GPLv2+
@ -44,17 +44,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%find_lang %{name} --all-name
%post
/sbin/ldconfig
%post -p /sbin/ldconfig
%postun
/sbin/ldconfig
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
fi
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%doc HACKING NEWS README
@ -84,6 +76,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%changelog
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-2
- Remove obsolete scriptlets
* Fri Dec 01 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
- Update to 3.26.1