[perl-Parse-ErrorString-Perl] 0.19 bump; Specify all dependencies

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

 



commit 6f9147068ab5d0005a59dac45629faf2403ac9d1
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Thu Aug 8 17:12:22 2013 +0200

    0.19 bump; Specify all dependencies

 .gitignore                       |    1 +
 perl-Parse-ErrorString-Perl.spec |   42 +++++++++++++++++++++----------------
 sources                          |    2 +-
 3 files changed, 26 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index eee7691..b49811e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 Parse-ErrorString-Perl-0.11.tar.gz
 /Parse-ErrorString-Perl-0.13.tar.gz
 /Parse-ErrorString-Perl-0.15.tar.gz
+/Parse-ErrorString-Perl-0.19.tar.gz
diff --git a/perl-Parse-ErrorString-Perl.spec b/perl-Parse-ErrorString-Perl.spec
index bbe80e3..52e7828 100644
--- a/perl-Parse-ErrorString-Perl.spec
+++ b/perl-Parse-ErrorString-Perl.spec
@@ -1,22 +1,27 @@
 Name:           perl-Parse-ErrorString-Perl
-Version:        0.15
-Release:        9%{?dist}
+Version:        0.19
+Release:        1%{?dist}
 Summary:        Module for parsing error messages
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Parse-ErrorString-Perl/
 Source0:        http://search.cpan.org/CPAN/authors/id/A/AZ/AZAWAWI/Parse-ErrorString-Perl-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  /usr/bin/dos2unix
+BuildRequires:  perl
+BuildRequires:  perl(inc::Module::Install)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Class::XSAccessor)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.31
-BuildRequires:  perl(Test::Differences)
+BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Pod::Find)
+BuildRequires:  perl(Pod::POM) >= 0.27
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Test::Differences)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Pod::POM) >= 0.27
-Requires:       perl(Class::XSAccessor)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
 Parse error messages from the perl interpreter.
@@ -24,38 +29,39 @@ Parse error messages from the perl interpreter.
 %prep
 %setup -q -n Parse-ErrorString-Perl-%{version}
 
+# Remove bundled modules
+rm -rf inc
+sed -i -e '/^inc\// d' MANIFEST
+
 %build
-%{__perl} Makefile.PL installdirs=vendor
+perl Makefile.PL installdirs=vendor
 #remove CRLF
 /usr/bin/dos2unix Changes
-/usr/bin/dos2unix README
 /usr/bin/dos2unix bin/check_perldiag
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
 find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc Changes README
+%doc Changes
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 %{_bindir}/check_perldiag
 %{_mandir}/man1/check_perldiag.1.gz
 
 %changelog
+* Thu Aug 08 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.19-1
+- 0.19 bump
+- Specify all dependencies
+- Modernize spec file
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.15-9
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index d6f29dd..7c62873 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d556ef6cb624159a2f1c85e67709e390  Parse-ErrorString-Perl-0.15.tar.gz
+dd28781223f9dd52c89c3c0c2ef87dc3  Parse-ErrorString-Perl-0.19.tar.gz
--
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