[perl-SQL-Library] Correct the source URL

Petr Šabata psabata at fedoraproject.org
Thu Oct 10 08:36:39 UTC 2013


commit 12e7eaf8c9aa30cbf34dd99ff77130ce1814f381
Author: Petr Šabata <contyk at redhat.com>
Date:   Thu Oct 10 17:36:32 2013 +0900

    Correct the source URL
    
    - Correct dependencies
    - Modernize the spec a little

 perl-SQL-Library.spec |   19 +++++++++++++------
 1 files changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/perl-SQL-Library.spec b/perl-SQL-Library.spec
index 8900133..1764c4c 100644
--- a/perl-SQL-Library.spec
+++ b/perl-SQL-Library.spec
@@ -1,15 +1,18 @@
 Name:           perl-SQL-Library
 Version:        0.0.5
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Manage libraries of SQL easily 
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/SQL-Library/
-Source0:        http://www.cpan.org/authors/id/D/DG/DGORLEY/SQL-Library-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/C/CH/CHRISV/SQL-Library-%{version}.tar.gz
 BuildArch:      noarch
+BuildRequires:  perl
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
 This is a perl module for managing simple SQL libraries stored in
@@ -24,9 +27,8 @@ 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} -depth -type d -exec rmdir {} 2>/dev/null \;
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 # the better to doc it later...
 cp t/sqltest.lib example.lib
@@ -40,6 +42,11 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Thu Oct 10 2013 Petr Šabata <contyk at redhat.com> - 0.0.5-7
+- Correct the source URL
+- Correct dependencies
+- Modernize the spec a little
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.5-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 



More information about the perl-devel mailing list