@ -1,21 +1,21 @@
Name: perl-Algorithm-C3
Version: 0.08
Release: 14 %{?dist}
Version: 0.09
Release: 1%{?dist}
Summary: Module for merging hierarchies using the C3 algorithm
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Algorithm-C3/
Source0: http://search.cpan.org/CPAN/authors/id/F/FL/FLORA /Algorithm-C3-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/H/HA/HAARG /Algorithm-C3-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Build
BuildRequires: perl(Module::Build )
BuildRequires: perl(ExtUtils::MakeMaker )
# Module
BuildRequires: perl(Carp) >= 0.01
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
# Test
BuildRequires: perl(Test::More) >= 0.47
BuildRequires: perl(Test::Pod)
BuildRequires: perl(Test::Pod::Coverage)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -29,28 +29,34 @@ job of preserving local precedence orderings.
%setup -q -n Algorithm-C3-%{version}
%build
perl Build.PL installdirs =vendor
./Build
perl Makefile.PL INSTALLDIRS =vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
./Build install destdir=%{buildroot} create_packlist=0
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}
%check
./Build test
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README t/
%{perl_vendorlib}/Algorithm/
%{_mandir}/man3/Algorithm::C3.3pm*
%changelog
* Mon Mar 3 2014 Paul Howarth <paul@city-fan.org> - 0.09-1
- Update to 0.09
- Convert to use ExtUtils::MakeMaker using distar
- Include repo and bugtracker metadata
- This release by HAARG -> update source URL
- Switch to ExtUtils::MakeMaker flow
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.08-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild