update spec for modern rpmbuild
- BR ExtUtils::MakeMaker - change source link to backpan - it's no longer in cpan
This commit is contained in:
parent
be2908552b
commit
38e06a2709
@ -1,20 +1,22 @@
|
|||||||
Name: perl-DateTime-Format-IBeat
|
Name: perl-DateTime-Format-IBeat
|
||||||
Version: 0.161
|
Version: 0.161
|
||||||
Release: 16%{?dist}
|
Release: 17%{?dist}
|
||||||
Summary: Format times in .beat notation
|
Summary: Format times in .beat notation
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/DateTime-Format-IBeat
|
URL: http://search.cpan.org/dist/DateTime-Format-IBeat
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-%{version}.tar.gz
|
Source0: http://backpan.perl.org/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-0.161.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Class::ISA)
|
BuildRequires: perl(Class::ISA)
|
||||||
BuildRequires: perl(DateTime) >= 0.18, perl(Test::More) >= 0.47
|
BuildRequires: perl(DateTime) >= 0.18, perl(Test::More) >= 0.47
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
BuildRequires: perl(Test::Pod) >= 1.00
|
BuildRequires: perl(Test::Pod) >= 1.00
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%{?perl_default_filter}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
No Time Zones, No Geographical Borders
|
No Time Zones, No Geographical Borders
|
||||||
|
|
||||||
@ -36,10 +38,8 @@ make %{?_smp_mflags}
|
|||||||
mv LICENCE LICENSE
|
mv LICENCE LICENSE
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
||||||
chmod -R u+w %{buildroot}/*
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
|
||||||
@ -47,18 +47,18 @@ chmod -R u+w %{buildroot}/*
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Artistic COPYING LICENSE Changes README
|
%doc Artistic COPYING LICENSE Changes README
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Feb 17 2013 Iain Arnell <iarnell@gmail.com> 0.161-17
|
||||||
|
- update spec for modern rpmbuild
|
||||||
|
- BR ExtUtils::MakeMaker
|
||||||
|
- change source link to backpan - it's no longer in cpan
|
||||||
|
|
||||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-16
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.161-16
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user