diff --git a/.gitignore b/.gitignore index 5a372fd..059941c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ Authen-Simple-0.4.tar.gz +/Authen-Simple-0.5.tar.gz diff --git a/perl-Authen-Simple.spec b/perl-Authen-Simple.spec index 5919acc..425d994 100644 --- a/perl-Authen-Simple.spec +++ b/perl-Authen-Simple.spec @@ -1,6 +1,6 @@ Name: perl-Authen-Simple -Version: 0.4 -Release: 8%{?dist} +Version: 0.5 +Release: 1%{?dist} Summary: Simple Authentication License: GPL+ or Artistic Group: Development/Libraries @@ -11,7 +11,7 @@ BuildRequires: perl(Class::Accessor::Fast) BuildRequires: perl(Class::Data::Inheritable) BuildRequires: perl(Crypt::PasswdMD5) BuildRequires: perl(Digest::SHA) -BuildRequires: perl(Module::Build) +BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Params::Validate) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) @@ -30,17 +30,19 @@ Simple and consistent framework for authentication. %setup -q -n Authen-Simple-%{version} %build -%{__perl} Build.PL installdirs=vendor -./Build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %install -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check -./Build test +make test %files %doc Changes README @@ -48,6 +50,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_mandir}/man3/* %changelog +* Fri Apr 20 2012 Emmanuel Seyman 0.5-1 +- Update to 0.5 +- Move to the Makefile.PL build system + * Thu Mar 29 2012 Emmanuel Seyman - 0.4-8 - Add Class::Accessor::Fast and Class::Data::Inheritable to Requires diff --git a/sources b/sources index b653ffc..dba5ac3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -ca2ebc687e9282c92f488fa79e3e8723 Authen-Simple-0.4.tar.gz +dcca5e4d0e79d0f58212e8ece178e0b5 Authen-Simple-0.5.tar.gz