Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
610adff1f5
commit
400bae1aa9
@ -1,6 +1,6 @@
|
|||||||
Name: seahorse
|
Name: seahorse
|
||||||
Version: 3.20.0
|
Version: 3.20.0
|
||||||
Release: 6%{?dist}
|
Release: 7%{?dist}
|
||||||
Summary: A GNOME application for managing encryption keys
|
Summary: A GNOME application for managing encryption keys
|
||||||
|
|
||||||
# seahorse is GPLv2+
|
# seahorse is GPLv2+
|
||||||
@ -75,32 +75,11 @@ rm -f ${RPM_BUILD_ROOT}/usr/share/icons/hicolor/icon-theme.cache
|
|||||||
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
||||||
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
|
find ${RPM_BUILD_ROOT} -type f -name "*.a" -exec rm -f {} ';'
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/appdata/*.appdata.xml
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/appdata/*.appdata.xml
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
%post
|
%postun -p /sbin/ldconfig
|
||||||
/sbin/ldconfig
|
|
||||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
touch --no-create %{_datadir}/mime/packages &>/dev/null || :
|
|
||||||
|
|
||||||
%postun
|
|
||||||
/sbin/ldconfig
|
|
||||||
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
|
|
||||||
if [ $1 -eq 0 ]; then
|
|
||||||
touch --no-create %{_datadir}/icons/hicolor >&/dev/null|| :
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
||||||
fi
|
|
||||||
|
|
||||||
%posttrans
|
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
|
||||||
update-mime-database -n %{_datadir}/mime &> /dev/null || :
|
|
||||||
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS NEWS README TODO
|
%doc AUTHORS NEWS README TODO
|
||||||
@ -124,6 +103,9 @@ update-mime-database -n %{_datadir}/mime &> /dev/null || :
|
|||||||
%{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini
|
%{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.20.0-7
|
||||||
|
- Remove obsolete scriptlets
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-6
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.20.0-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user