Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
31d20b5870
commit
62001973e1
1 changed files with 4 additions and 19 deletions
|
|
@ -1,7 +1,7 @@
|
|||
Name: antimony
|
||||
Summary: Computer-aided design CAD tool
|
||||
Version: 0.9.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: MIT
|
||||
URL: http://www.mattkeeter.com/projects/antimony/3/
|
||||
Source0: https://github.com/mkeeter/antimony/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
|
|
@ -142,24 +142,6 @@ cat > $RPM_BUILD_ROOT%{_datadir}/metainfo/%{name}.appdata.xml <<EOF
|
|||
</component>
|
||||
EOF
|
||||
|
||||
%post
|
||||
/bin/touch --no-create %{_datadir}/icons/Antimony &>/dev/null || :
|
||||
%if 0%{?fedora} < 25
|
||||
/usr/bin/update-desktop-database &> /dev/null || :
|
||||
%endif
|
||||
|
||||
%postun
|
||||
if [ $1 -eq 0 ] ; then
|
||||
/bin/touch --no-create %{_datadir}/icons/Antimony &>/dev/null
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Antimony &>/dev/null || :
|
||||
fi
|
||||
%if 0%{?fedora} < 25
|
||||
/usr/bin/update-desktop-database &> /dev/null || :
|
||||
%endif
|
||||
|
||||
%posttrans
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Antimony &>/dev/null || :
|
||||
|
||||
%check
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
||||
%if 0%{?fedora}
|
||||
|
|
@ -177,6 +159,9 @@ appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/*.appd
|
|||
%{_datadir}/metainfo/%{name}.appdata.xml
|
||||
|
||||
%changelog
|
||||
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.3-3
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Tue Dec 19 2017 Antonio Trande <sagitter@fedoraproject.org> - 0.9.3-2
|
||||
- Appdata file moved into metainfo data directory
|
||||
|
||||
|
|
|
|||
Reference in a new issue