[vdr-epgsearch] Clean up specfile constructs no longer needed with Fedora or EL6+.

Ville Skyttä scop at fedoraproject.org
Sun Nov 6 18:23:35 UTC 2011


commit e9ea566c18707463382abe236799b07e8ff8f825
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sun Nov 6 20:23:22 2011 +0200

    Clean up specfile constructs no longer needed with Fedora or EL6+.

 vdr-epgsearch.spec |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/vdr-epgsearch.spec b/vdr-epgsearch.spec
index 8d95f1e..29cd9cd 100644
--- a/vdr-epgsearch.spec
+++ b/vdr-epgsearch.spec
@@ -3,10 +3,9 @@
 
 Name:           vdr-%{pname}
 Version:        1.0.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Powerful schedules menu replacement plugin for VDR
 
-Group:          Applications/Multimedia
 License:        GPLv2+
 URL:            http://winni.vdr-developer.org/epgsearch/index_eng.html
 Source0:        http://winni.vdr-developer.org/epgsearch/downloads/%{name}-%{version}.tgz
@@ -17,10 +16,8 @@ Source4:        %{name}-quickepgsearch.conf
 Source5:        %{name}-epgsearchmenu.conf
 # Fedora specific, no need to send upstream
 Patch0:         %{name}-0.9.25.beta21-fedora.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  vdr-devel >= 1.6.0-41
-BuildRequires:  gettext
 Requires:       vdr(abi)%{?_isa} = %{vdr_apiversion}
 
 %description
@@ -47,7 +44,6 @@ make %{?_smp_mflags} AUTOCONFIG= LIBDIR=. LOCALEDIR=./locale \
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 
 install -dm 755 $RPM_BUILD_ROOT%{vdr_plugindir}
 install -pm 755 libvdr-*.so.%{vdr_apiversion} $RPM_BUILD_ROOT%{vdr_plugindir}
@@ -77,10 +73,6 @@ cp -pR locale/* $RPM_BUILD_ROOT%{_datadir}/locale
 %find_lang %{name} --all-name --with-man
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files -f %{name}.lang
 %doc COPYING HISTORY conf/ scripts/
 %lang(de) %doc HISTORY.DE
@@ -95,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Sun Nov  6 2011 Ville Skyttä <ville.skytta at iki.fi> - 1.0.0-2
+- Clean up specfile constructs no longer needed with Fedora or EL6+.
+
 * Sun Sep 11 2011 Ville Skyttä <ville.skytta at iki.fi> - 1.0.0-1
 - Update to 1.0.0.
 


More information about the scm-commits mailing list