Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
90ffc6873a
commit
c554448a3f
17
x3270.spec
17
x3270.spec
@ -4,7 +4,7 @@
|
||||
Summary: An X Window System based IBM 3278/3279 terminal emulator
|
||||
Name: x3270
|
||||
Version: 3.6ga4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: BSD
|
||||
Group: Applications/Internet
|
||||
URL: http://x3270.sourceforge.net/
|
||||
@ -103,18 +103,8 @@ desktop-file-install \
|
||||
|
||||
%post x11
|
||||
cd %{_fontdir} && %{_prefix}/bin/mkfontdir
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun x11
|
||||
if [ "$1" -eq "0" ]; then
|
||||
cd %{_fontdir} && %{_prefix}/bin/mkfontdir
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans x11
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun x11 -p fi
|
||||
|
||||
%files
|
||||
%doc LICENSE.s3270 README.s3270 html.s3270
|
||||
@ -147,6 +137,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org>
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Sun Dec 31 2017 Dan Horák <dan[at]danny.cz> - 3.6ga4-1
|
||||
- updated to 3.6ga4 (#1529910)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user