Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
06d19d93b6
commit
8b05d938d6
1 changed files with 4 additions and 19 deletions
|
|
@ -6,7 +6,7 @@ BuildRequires: %1 \
|
|||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 2.2.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
|
||||
Summary: RD-document-based presentation application
|
||||
# CC-BY: rubykaigi2011-background-white.jpg and
|
||||
|
|
@ -125,24 +125,6 @@ xvfb-run \
|
|||
ruby test/run-test.rb
|
||||
popd
|
||||
|
||||
%post
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
%postun
|
||||
update-desktop-database &> /dev/null || :
|
||||
if [ $1 -eq 0 ]; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
touch --no-create %{_datadir}/mime/packages &> /dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
||||
|
||||
%files -f rabbit.lang
|
||||
# rpmlint: keep all zero-length file
|
||||
%dir %{gem_instdir}
|
||||
|
|
@ -177,6 +159,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
|
|||
%doc %{gem_instdir}/sample/
|
||||
|
||||
%changelog
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.2.1-2
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Tue Sep 19 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.2.1-1
|
||||
- 2.2.1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue