Remove obsolete scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-01-18 22:37:56 +01:00
parent c0555eca41
commit e7c3e4d37b

View File

@ -1,6 +1,6 @@
Name: texstudio
Version: 2.12.6
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A feature-rich editor for LaTeX documents
Group: Applications/Publishing
@ -99,22 +99,6 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE1}
%clean
rm -rf $RPM_BUILD_ROOT
%post
update-desktop-database &> /dev/null ||:
touch --no-create %{_datadir}/icons/hicolor
%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 ||:
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
%files -f %{name}.lang
%defattr(-,root,root,-)
%{_bindir}/texstudio
@ -139,6 +123,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null ||:
%doc utilities/AUTHORS utilities/COPYING utilities/manual/CHANGELOG.txt
%changelog
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.12.6-3
- Remove obsolete scriptlets
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild