From 8312e0ac712784a15f117c6135fb2463b6cf64ea Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 6 Jan 2018 10:49:34 +0100 Subject: [PATCH] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- libgweather.spec | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/libgweather.spec b/libgweather.spec index 24c7bc3..7738fab 100644 --- a/libgweather.spec +++ b/libgweather.spec @@ -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 - 3.26.1-2 +- Remove obsolete scriptlets + * Fri Dec 01 2017 Kalev Lember - 3.26.1-1 - Update to 3.26.1