[perl-EV] Re-add the header files to the main package.

Mathieu Bridon bochecha at fedoraproject.org
Thu Apr 7 03:05:53 UTC 2011


commit e3280d548e548a5c83d55a0cb4d2492a0bbdc091
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date:   Thu Apr 7 11:03:05 2011 +0800

    Re-add the header files to the main package.
    
    Reviewer suggested those two .h files should be moved to a -devel
    subpackage.
    
    However, the Fedora packaging guidelines indicate the contrary:
     -> http://fedoraproject.org/wiki/Packaging/Perl#.h_files_in_module_packages

 perl-EV.spec |   22 ++++++----------------
 1 files changed, 6 insertions(+), 16 deletions(-)
---
diff --git a/perl-EV.spec b/perl-EV.spec
index 4f244f9..9666e5e 100644
--- a/perl-EV.spec
+++ b/perl-EV.spec
@@ -1,6 +1,6 @@
 Name:           perl-EV
 Version:        4.03
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Wrapper for the libev high-performance event loop library
 
 Group:          Development/Libraries
@@ -33,15 +33,6 @@ 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}
 
@@ -83,16 +74,15 @@ rm -rf $RPM_BUILD_ROOT
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/EV.pm
 %{perl_vendorarch}/EV
-%exclude %{perl_vendorarch}/EV/*.h
-%{_mandir}/man3/*.3*
-
-
-%files devel
-%defattr(-,root,root,-)
 %{perl_vendorarch}/EV/*.h
+%{_mandir}/man3/*.3*
 
 
 %changelog
+* Thu Apr 07 2011 Mathieu Bridon <bochecha at fedoraproject.org> - 4.03-4
+- Readded the header file to the main package, as per guidelines:
+      -> http://fedoraproject.org/wiki/Packaging/Perl#.h_files_in_module_packages
+
 * Tue Mar 08 2011 Mathieu Bridon <bochecha at fedoraproject.org> - 4.03-3
 - Some more fixes as part of the review process:
   - Fix the license tag to be only the license of perl-EV, and add a note about



More information about the perl-devel mailing list