commit 6f940ddfafede00a27e9744c609a73f8f5688f3b Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Tue Oct 21 13:35:12 2014 +0200 Overall cleanup of the spec file perl-Net-Daemon.spec | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) --- diff --git a/perl-Net-Daemon.spec b/perl-Net-Daemon.spec index cea652a..3801db3 100644 --- a/perl-Net-Daemon.spec +++ b/perl-Net-Daemon.spec @@ -1,13 +1,11 @@ Name: perl-Net-Daemon Version: 0.48 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Perl extension for portable daemons -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Net-Daemon/ Source0: http://search.cpan.org/CPAN/authors/id/M/MN/MNOONING/Net-Daemon-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) @@ -23,6 +21,8 @@ BuildRequires: perl(lib) } Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?perl_default_filter} + %description Net::Daemon is an abstract base class for implementing portable server applications in a very simple way. The module is designed for Perl 5.006 and @@ -51,11 +51,8 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -# Remove the next line from noarch packages (unneeded) -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/* @@ -74,18 +71,20 @@ chmod -R u+w $RPM_BUILD_ROOT/* make test -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) -%doc ChangeLog README LICENSE.* -%{perl_vendorlib}/* -%{_mandir}/man3/*.3* +%doc ChangeLog README +%license LICENSE.* +%{perl_vendorlib}/Net* +%{_mandir}/man3/Net*.3* %changelog +* Tue Oct 21 2014 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.48-10 +- Remove no-longer-needed macros +- Use the %%license tag +- Be more specific when listing files +- Add perl default filter + * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.48-9 - Perl 5.20 rebuild -- 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