update to 0.40
- clean up spec for modern rpmbuild - PERL_INSTALL_ROOT -> DESTDIR
This commit is contained in:
parent
be33403a07
commit
6c3165652b
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
DateTime-Format-HTTP-0.38.tar.gz
|
DateTime-Format-HTTP-0.38.tar.gz
|
||||||
|
/DateTime-Format-HTTP-0.40.tar.gz
|
||||||
|
@ -1,13 +1,12 @@
|
|||||||
Name: perl-DateTime-Format-HTTP
|
Name: perl-DateTime-Format-HTTP
|
||||||
Version: 0.38
|
Version: 0.40
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: HTTP protocol date conversion routines
|
Summary: HTTP protocol date conversion routines
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/DateTime-Format-HTTP
|
URL: http://search.cpan.org/dist/DateTime-Format-HTTP
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/DateTime-Format-HTTP-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/C/CK/CKRAS/DateTime-Format-HTTP-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Class::ISA)
|
BuildRequires: perl(Class::ISA)
|
||||||
@ -34,8 +33,7 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%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 ';'
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
@ -46,10 +44,6 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE Changes CREDITS README
|
%doc LICENSE Changes CREDITS README
|
||||||
@ -58,6 +52,11 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 18 2010 Iain Arnell <iarnell@gmail.com> 0.40-1
|
||||||
|
- update to latest upstream version
|
||||||
|
- clean up spec for modern rpmbuild
|
||||||
|
- PERL_INSTALL_ROOT -> DESTDIR
|
||||||
|
|
||||||
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.38-6
|
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.38-6
|
||||||
- 661697 rebuild for fixing problems with vendorach/lib
|
- 661697 rebuild for fixing problems with vendorach/lib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user