[perl-EV] Cleanup the spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 7c68010849560e732fd462a1a259dd2d94ec77d9
Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx>
Date:   Fri Sep 28 18:18:08 2012 +0800

    Cleanup the spec

 perl-EV.spec |   15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)
---
diff --git a/perl-EV.spec b/perl-EV.spec
index 02c346c..93757d5 100644
--- a/perl-EV.spec
+++ b/perl-EV.spec
@@ -3,7 +3,6 @@ Version:        4.03
 Release:        10%{?dist}
 Summary:        Wrapper for the libev high-performance event loop library
 
-Group:          Development/Libraries
 # Note: The source archive includes a libev/ folder which contents are licensed
 #       as "BSD or GPLv2+". However, those are removed at build-time and
 #       perl-EV is instead built against the system-provided libev.
@@ -19,12 +18,6 @@ BuildRequires:  libev-source >= %{version}
 BuildRequires:  perl(AnyEvent) => 2.6
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-# As per review, a perl-EV-devel subpackage had at first been pushed to the
-# repositories. It now has broken deps if it's not properly obsoleted/provided.
-# TODO: Remove those two lines during the Fedora 17 development cycle.
-Provides:       %{name}-devel = %{version}-%{release}
-Obsoletes:      %{name}-devel < 4.03-5
-
 %{?perl_default_filter}
 
 
@@ -41,7 +34,6 @@ much more detailed information.
 %prep
 %setup -q -n EV-%{version}
 
-# no questins during build
 %patch0 -p1
 
 # remove all traces of the bundled libev
@@ -61,7 +53,7 @@ make %{?_smp_mflags}
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
+
 chmod -R u+w $RPM_BUILD_ROOT/*
 
 
@@ -69,12 +61,7 @@ chmod -R u+w $RPM_BUILD_ROOT/*
 make test
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
 %doc Changes COPYING README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/EV.pm
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux