From 0bf0b57fc22d516a8113f71a75d503d616505d4b Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Fri, 12 Jul 2013 23:31:02 +0200 Subject: [PATCH] Spec file cleanup for recent rpmbuild --- mmapper.spec | 7 ------- 1 file changed, 7 deletions(-) diff --git a/mmapper.spec b/mmapper.spec index e4895ca..eb0b918 100644 --- a/mmapper.spec +++ b/mmapper.spec @@ -7,7 +7,6 @@ Group: Amusements/Games License: GPLv2+ URL: http://sourceforge.net/projects/mmapper Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}-source.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: cmake BuildRequires: desktop-file-utils @@ -40,7 +39,6 @@ make %{?_smp_mflags} -C %{_target_platform} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} # It is questionable if one is allowed to redistribute the map. @@ -49,10 +47,6 @@ rm -f $RPM_BUILD_ROOT/%{_datadir}/games/mmapper/arda.mm2 desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/mmapper.desktop -%clean -rm -rf $RPM_BUILD_ROOT - - %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : @@ -67,7 +61,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -%defattr(-,root,root,-) %doc COPYING.txt NEWS.txt doc/*.txt %{_bindir}/mmapper %{_datadir}/applications/mmapper.desktop