commit ac6c4e4c25a57827296f700dcf6b214ca1bf3964 Author: Petr Šabata contyk@redhat.com Date: Tue Jan 3 11:14:48 2012 +0100
0.06 bump (#770260)
.gitignore | 1 + perl-DateTime-Format-W3CDTF.spec | 35 +++++++++++++++++------------------ sources | 2 +- 3 files changed, 19 insertions(+), 19 deletions(-) --- diff --git a/.gitignore b/.gitignore index 6f1afe8..c060cdd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ DateTime-Format-W3CDTF-0.05.tar.gz +/DateTime-Format-W3CDTF-0.06.tar.gz diff --git a/perl-DateTime-Format-W3CDTF.spec b/perl-DateTime-Format-W3CDTF.spec index 7ee8b5d..9792766 100644 --- a/perl-DateTime-Format-W3CDTF.spec +++ b/perl-DateTime-Format-W3CDTF.spec @@ -1,15 +1,14 @@ Name: perl-DateTime-Format-W3CDTF -Version: 0.05 -Release: 6%{?dist} +Version: 0.06 +Release: 1%{?dist} Summary: Parse and format W3CDTF datetime strings License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/DateTime-Format-W3CDTF/ -Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/DateTime-Format-W3CDTF-%%7Bversi... -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://search.cpan.org/CPAN/authors/id/G/GW/GWILLIAMS/DateTime-Format-W3CDTF... BuildArch: noarch BuildRequires: perl(DateTime) -BuildRequires: perl(Module::Build) +BuildRequires: perl(DateTime::TimeZone) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -22,30 +21,30 @@ date format of RSS 1.0. %setup -q -n DateTime-Format-W3CDTF-%{version}
%build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags}
%install -rm -rf $RPM_BUILD_ROOT - -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ; - -%{_fixperms} $RPM_BUILD_ROOT/* +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ; +find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} ; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ; +%{_fixperms} %{buildroot}/*
%check -./Build test - -%clean -rm -rf $RPM_BUILD_ROOT +make test
%files -%defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/*
%changelog +* Tue Jan 03 2012 Petr Šabata contyk@redhat.com - 0.06-1 +- 0.06 bump (#770260) +- Source updated +- Removed now obsolete Buildroot and defattr + * Thu Jul 21 2011 Petr Sabata contyk@redhat.com - 0.05-6 - Perl mass rebuild
diff --git a/sources b/sources index 8893a18..7642843 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -86b23720f1d2f40ca1fec0a4096a5ff4 DateTime-Format-W3CDTF-0.05.tar.gz +7eb2a90b78e7e2232eddbd6dd6758a23 DateTime-Format-W3CDTF-0.06.tar.gz