Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
6faa07c3b2
commit
4e38fb58e2
@ -1,6 +1,6 @@
|
|||||||
Name: gnome-clocks
|
Name: gnome-clocks
|
||||||
Version: 3.26.1
|
Version: 3.26.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Clock application designed for GNOME 3
|
Summary: Clock application designed for GNOME 3
|
||||||
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
@ -23,7 +23,6 @@ BuildRequires: pkgconfig(libgeoclue-2.0) >= 2.4
|
|||||||
BuildRequires: pkgconfig(geocode-glib-1.0) >= 1.0
|
BuildRequires: pkgconfig(geocode-glib-1.0) >= 1.0
|
||||||
BuildRequires: pkgconfig(gsound) >= 0.98
|
BuildRequires: pkgconfig(gsound) >= 0.98
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Clock application designed for GNOME 3
|
Clock application designed for GNOME 3
|
||||||
|
|
||||||
@ -38,24 +37,9 @@ Clock application designed for GNOME 3
|
|||||||
%meson_install
|
%meson_install
|
||||||
%find_lang gnome-clocks --with-gnome
|
%find_lang gnome-clocks --with-gnome
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.clocks.desktop
|
||||||
|
|
||||||
%post
|
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
if [ $1 -eq 0 ] ; then
|
|
||||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
||||||
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%posttrans
|
|
||||||
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
|
|
||||||
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
|
|
||||||
%files -f gnome-clocks.lang
|
%files -f gnome-clocks.lang
|
||||||
%doc AUTHORS README NEWS
|
%doc AUTHORS README NEWS
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@ -71,8 +55,10 @@ fi
|
|||||||
%dir %{_datadir}/gnome-shell/search-providers/
|
%dir %{_datadir}/gnome-shell/search-providers/
|
||||||
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
|
%{_datadir}/gnome-shell/search-providers/org.gnome.clocks.search-provider.ini
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.1-2
|
||||||
|
- Remove obsolete scriptlets
|
||||||
|
|
||||||
* Sun Oct 15 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
|
* Sun Oct 15 2017 Kalev Lember <klember@redhat.com> - 3.26.1-1
|
||||||
- Update to 3.26.1
|
- Update to 3.26.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user