ivanromanov pushed to torrent-file-editor (epel7). "epel: delete appdata.xml after installing"

notifications at fedoraproject.org notifications at fedoraproject.org
Tue May 12 09:21:18 UTC 2015


From a2b3914369199ec7ea20cb3001e74c688261996f Mon Sep 17 00:00:00 2001
From: Ivan Romanov <drizt at land.ru>
Date: Tue, 12 May 2015 14:21:06 +0500
Subject: epel: delete appdata.xml after installing


diff --git a/torrent-file-editor.spec b/torrent-file-editor.spec
index 6532968..7fdad5a 100644
--- a/torrent-file-editor.spec
+++ b/torrent-file-editor.spec
@@ -40,6 +40,9 @@ make %{?_smp_mflags}
 
 %install
 %make_install
+%if 0%{?epel}
+rm -f %{buildroot}/%{_datadir}/appdata/%{name}.appdata.xml
+%endif
 
 %check
 # Menu file is being installed when make install
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/torrent-file-editor.git/commit/?h=epel7&id=a2b3914369199ec7ea20cb3001e74c688261996f


More information about the scm-commits mailing list