b854a13
Name:           perl-Perl-Version
9671841
Version:        1.011
130e36f
Release:        3%{?dist}
b854a13
Summary:        Parse and manipulate Perl version strings
b854a13
License:        GPL+ or Artistic
b854a13
Group:          Development/Libraries
b854a13
URL:            http://search.cpan.org/dist/Perl-Version/
b854a13
Source0:        http://www.cpan.org/authors/id/A/AN/ANDYA/Perl-Version-%{version}.tar.gz
b854a13
BuildArch:      noarch
b854a13
BuildRequires:  perl(ExtUtils::MakeMaker)
b854a13
BuildRequires:  perl(File::Slurp) >= 9999.12
b854a13
# tests
b854a13
BuildRequires:  perl(Test::More)
b854a13
BuildRequires:  perl(Test::Pod)
b854a13
BuildRequires:  perl(Test::Pod::Coverage)
b854a13
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
b854a13
b854a13
%{?perl_default_filter}
b854a13
b854a13
%description
b854a13
Perl::Version provides a simple interface for parsing, manipulating and
b854a13
formatting Perl version strings.
b854a13
b854a13
%prep
b854a13
%setup -q -n Perl-Version-%{version}
b854a13
b854a13
%build
b854a13
PERL_MM_USE_DEFAULT=true %{__perl} Makefile.PL INSTALLDIRS=vendor
b854a13
make %{?_smp_mflags}
b854a13
b854a13
%install
b854a13
make pure_install DESTDIR=$RPM_BUILD_ROOT
b854a13
b854a13
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
b854a13
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
b854a13
b854a13
%{_fixperms} $RPM_BUILD_ROOT/*
b854a13
b854a13
%check
b854a13
make test
b854a13
b854a13
%files
b854a13
%defattr(-,root,root,-)
b854a13
%doc Changes Notes.txt README
b854a13
%{perl_vendorlib}/*
7f98d0f
%{_bindir}/*
7f98d0f
%{_mandir}/man1/*
b854a13
%{_mandir}/man3/*
b854a13
b854a13
%changelog
130e36f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.011-3
130e36f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
130e36f
16fd87b
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.011-2
16fd87b
- Perl mass rebuild
16fd87b
9671841
* Sat Feb 26 2011 Iain Arnell <iarnell@gmail.com> 1.011-1
9671841
- update to latest upstream version
9671841
56384f2
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.010-3
56384f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
56384f2
c8e5baf
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.010-2
c8e5baf
- 661697 rebuild for fixing problems with vendorach/lib
c8e5baf
def0786
* Sun Sep 26 2010 Iain Arnell <iarnell@gmail.com> 1.010-1
def0786
- update to latest upstream
def0786
- clean up spec for modern rpmbuild
def0786
b422e09
* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.009-3
b422e09
- Mass rebuild with perl-5.12.0
b422e09
7f98d0f
* Sun Apr 04 2010 Iain Arnell <iarnell@gmail.com> 1.009-2
7f98d0f
- install perl-reversion script
7f98d0f
b854a13
* Fri Apr 02 2010 Iain Arnell <iarnell@gmail.com> 1.009-1
b854a13
- Specfile autogenerated by cpanspec 1.78.
b854a13
- use perl_default_filter and DESTDIR
b854a13
- avoid EU::MM prompt