[perl-POE-Component-Logger] Update source URL

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

 



commit 6ed88d121c74164af32f133f25e0060f7ff5e175
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Thu Oct 10 14:55:16 2013 +0900

    Update source URL
    
    - Modernize the spec a bit

 perl-POE-Component-Logger.spec |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/perl-POE-Component-Logger.spec b/perl-POE-Component-Logger.spec
index 0fdc65b..663bf94 100644
--- a/perl-POE-Component-Logger.spec
+++ b/perl-POE-Component-Logger.spec
@@ -1,11 +1,11 @@
 Name:           perl-POE-Component-Logger
 Version:        1.10
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        A POE logging class
 Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/POE-Component-Logger
-Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/POE-Component-Logger-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/D/DO/DOLMEN/POE-Component-Logger-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
@@ -17,7 +17,7 @@ BuildRequires:  perl(POE) >= 0.11
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::NoWarnings)
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:  perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
 POE::Component::Logger provides a simple logging component that uses
@@ -40,14 +40,13 @@ process the next event.
 %setup -q -n POE-Component-Logger-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
+find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} +
 chmod -R u+w %{buildroot}/*
 
 %check
@@ -60,6 +59,10 @@ make test
 
 
 %changelog
+* Thu Oct 10 2013 Petr Šabata <contyk@xxxxxxxxxx> - 1.10-7
+- Update source URL
+- Modernize the spec a bit
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.10-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_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





[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