Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
661b4e4742
commit
04899c5de2
19
eog.spec
19
eog.spec
@ -7,7 +7,7 @@
|
||||
|
||||
Name: eog
|
||||
Version: 3.26.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Eye of GNOME image viewer
|
||||
|
||||
# The GFDL has an "or later version" clause embedded inside the license.
|
||||
@ -82,24 +82,10 @@ make %{?_smp_mflags}
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la
|
||||
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
|
||||
desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
|
||||
|
||||
|
||||
%post
|
||||
touch %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
|
||||
%files -f %{name}.lang
|
||||
%doc AUTHORS NEWS README
|
||||
%license COPYING
|
||||
@ -124,6 +110,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||
%{_datadir}/installed-tests/
|
||||
|
||||
%changelog
|
||||
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.26.2-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Thu Nov 09 2017 Kalev Lember <klember@redhat.com> - 3.26.2-1
|
||||
- Update to 3.26.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user