remove obsolete macros

This commit is contained in:
Miroslav Lichvar 2012-10-10 17:33:20 +02:00
parent 53b95ab070
commit 058a10e354

View File

@ -5,7 +5,6 @@ Release: 1%{?dist}
URL: http://invisible-island.net/xterm URL: http://invisible-island.net/xterm
License: MIT License: MIT
Group: User Interface/X Group: User Interface/X
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: imake pkgconfig ncurses-devel libutempter-devel BuildRequires: imake pkgconfig ncurses-devel libutempter-devel
BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils BuildRequires: libXft-devel libXaw-devel libXext-devel desktop-file-utils
BuildRequires: libxkbfile-devel BuildRequires: libxkbfile-devel
@ -58,7 +57,6 @@ done
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
cp -fp %{SOURCE1} 16colors.txt cp -fp %{SOURCE1} 16colors.txt
@ -67,9 +65,6 @@ desktop-file-install --vendor=fedora \
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \ --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
xterm.desktop xterm.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%post %post
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@ -83,7 +78,6 @@ fi
/usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || :
%files %files
%defattr(-,root,root,-)
%doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n THANKS %doc xterm.log.html ctlseqs.txt 16colors.txt README.i18n THANKS
%{_bindir}/xterm %{_bindir}/xterm
%{_bindir}/koi8rxterm %{_bindir}/koi8rxterm