[perl-Text-Aligner] 0.08 bump; Modernize spec

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

 



commit b8d20a7f9baaad870780ffd844da3e9344474f96
Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx>
Date:   Tue Oct 8 14:41:41 2013 +0200

    0.08 bump; Modernize spec

 .gitignore             |    1 +
 perl-Text-Aligner.spec |   31 +++++++++++++++----------------
 sources                |    2 +-
 3 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7ba46ed..9f9f44a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 Text-Aligner-0.03.tar.gz
 /Text-Aligner-0.07.tar.gz
+/Text-Aligner-0.08.tar.gz
diff --git a/perl-Text-Aligner.spec b/perl-Text-Aligner.spec
index 99155a9..c31a6d9 100644
--- a/perl-Text-Aligner.spec
+++ b/perl-Text-Aligner.spec
@@ -1,18 +1,22 @@
 Name:           perl-Text-Aligner
-Version:        0.07
-Release:        11%{?dist}
+Version:        0.08
+Release:        1%{?dist}
 Summary:        Text::Aligner Perl module
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Text-Aligner/
-Source0:        http://www.cpan.org/authors/id/A/AN/ANNO/Text-Aligner-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Source0:        http://www.cpan.org/authors/id/S/SH/SHLOMIF/Text-Aligner-%{version}.tar.gz
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
+# Run-time
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Term::ANSIColor) >= 2.01
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(vars)
 # Tests only
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Term::ANSIColor) >= 2.01
 
 %{?perl_default_filter:
@@ -31,32 +35,27 @@ alignment.
 %setup -q -n Text-Aligner-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$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 -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 LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Oct 08 2013 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.08-1
+- 0.08 bump
+- Modernize spec, update BR and source URL
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.07-11
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index cc2b5f6..7d9ba42 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-73088eaeae1e6c627398db1e7cc76717  Text-Aligner-0.07.tar.gz
+0f5e74eab2a71a50b64755de0158dc69  Text-Aligner-0.08.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