- Remove obsolete scriptlets + spec modernization
This commit is contained in:
parent
49c024867a
commit
8eb7da8666
20
vile.spec
20
vile.spec
|
@ -1,6 +1,6 @@
|
|||
Name: vile
|
||||
Version: 9.8r
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?dist}
|
||||
Summary: VI Like Emacs
|
||||
Group: Applications/Editors
|
||||
License: GPLv2
|
||||
|
@ -11,7 +11,6 @@ BuildRequires: ncurses-devel
|
|||
BuildRequires: flex
|
||||
BuildRequires: desktop-file-utils
|
||||
Requires: %{name}-common = %{version}-%{release}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%package common
|
||||
Summary: The common files needed by any version of the vile editor
|
||||
|
@ -74,20 +73,6 @@ desktop-file-install --vendor='' --dir=%{buildroot}%{_datadir}/applications %{SO
|
|||
ln -s %{_mandir}/man1/xvile.1 %{buildroot}%{_mandir}/man1/uxvile.1
|
||||
ln -s %{_mandir}/man1/xvile.1 %{buildroot}%{_mandir}/man1/lxvile.1
|
||||
|
||||
|
||||
%post -n xvile
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun -n xvile
|
||||
if [ $1 -eq 0 ] ; then
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
%posttrans -n xvile
|
||||
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/vile
|
||||
%{_bindir}/vile-pager
|
||||
|
@ -119,6 +104,9 @@ fi
|
|||
%{_datadir}/applications/xvile.desktop
|
||||
|
||||
%changelog
|
||||
* Thu Feb 08 2018 Filipe Rosset <rosset.filipe@gmail.com> - 9.8r-6
|
||||
- Remove obsolete scriptlets + spec modernization
|
||||
|
||||
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 9.8r-5
|
||||
- Rebuilt for switch to libxcrypt
|
||||
|
||||
|
|
Loading…
Reference in New Issue