From 1a4f5113060dc613a99ddf803a3b2cefd37ecaaf033e0dd20965ec7c7d7ca926 Mon Sep 17 00:00:00 2001 From: Simon Lees Date: Sat, 21 Feb 2015 06:11:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/X11:Enlightenment:Factory/epour?expand=0&rev=3 --- epour.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/epour.spec b/epour.spec index 90c41d0..61ee70e 100644 --- a/epour.spec +++ b/epour.spec @@ -35,6 +35,11 @@ Requires: python-xdg Requires: python-libtorrent-rasterbar buildroot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} +BuildRequires: fdupes +BuildRequires: update-desktop-files +%endif + %description EFL and libtorrent based BitTorrent client. @@ -46,6 +51,12 @@ python setup.py build %install python setup.py install --root "%{buildroot}" + +%if 0%{?suse_version} +%fdupes %{buildroot}/%{_datadir} +%suse_update_desktop_file epour +%endif + rm -rf "%{buildroot}/%{_datadir}/doc" %files