[perl-EV] Made some fixes based on the review feedback.

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

 



commit 2db7c6489e36e812f92465a80410b18a0fdb10fd
Author: Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx>
Date:   Wed Feb 23 16:50:58 2011 +0800

    Made some fixes based on the review feedback.
    
    This updated package was submitted on Wed Feb 23 2011:
        https://bugzilla.redhat.com/show_bug.cgi?id=678221#c3

 perl-EV.spec |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)
---
diff --git a/perl-EV.spec b/perl-EV.spec
index 00baa90..2b29f94 100644
--- a/perl-EV.spec
+++ b/perl-EV.spec
@@ -1,6 +1,6 @@
 Name:           perl-EV
 Version:        4.03
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Wrapper for the libev high-performance event loop library
 
 Group:          Development/Libraries
@@ -8,7 +8,6 @@ License:        (GPL+ or Artistic) and (BSD or GPLv2+)
 URL:            http://search.cpan.org/dist/EV/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
 Patch0:         perl-EV-4.03-Don-t-ask-questions-at-build-time.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(common::sense)
@@ -18,6 +17,9 @@ BuildRequires:  perl(AnyEvent) => 2.6
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 
+%{?perl_default_filter}
+
+
 %description
 This module provides an interface to libev
 (<http://software.schmorp.de/pkg/libev.html>). While the included documentation
@@ -28,6 +30,15 @@ specific backend with "LIBEV_FLAGS", or just about in any case because it has
 much more detailed information.
 
 
+%package devel
+Summary:        Wrapper for the libev high-performance event loop library
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+
+%description devel
+This package provides the development headers for the Perl EV module.
+
+
 %prep
 %setup -q -n EV-%{version}
 
@@ -69,11 +80,24 @@ rm -rf $RPM_BUILD_ROOT
 %doc Changes COPYING README
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/EV.pm
-%{perl_vendorarch}/EV/
+%{perl_vendorarch}/EV
+%exclude %{perl_vendorarch}/EV/*.h
 %{_mandir}/man3/*.3*
 
 
+%files devel
+%defattr(-,root,root,-)
+%{perl_vendorarch}/EV/*.h
+
+
 %changelog
+* Wed Feb 23 2011 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 4.03-2
+- Fixes asked during the review process:
+  - Filter the private shared EV.so out of the automatic Provides
+  - Put the header files in a -devel package
+- Removed the Buildroot line since it's useless for newer versions of Fedora
+  and this package can only go in Fedora >= 15 due to its libev dependency)
+
 * Mon Jan 24 2011 Mathieu Bridon <bochecha@xxxxxxxxxxxxxxxxx> - 4.03-1
 - Update to 4.03.
 - Use the system libev instead of the bundled one.
--
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