commit c94c12bf1136553983a3039db83b9bdf79457278 Author: Petr Sabata <contyk@xxxxxxxxxx> Date: Thu Sep 15 13:32:07 2011 +0200 1.001 bump .gitignore | 1 + perl-File-pushd.spec | 38 ++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 24 insertions(+), 17 deletions(-) --- diff --git a/.gitignore b/.gitignore index 0f7a56a..e6d1c2c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ File-pushd-1.00.tar.gz +/File-pushd-1.001.tar.gz diff --git a/perl-File-pushd.spec b/perl-File-pushd.spec index 6db1569..118b416 100644 --- a/perl-File-pushd.spec +++ b/perl-File-pushd.spec @@ -1,15 +1,21 @@ Name: perl-File-pushd -Version: 1.00 -Release: 9%{?dist} +Version: 1.001 +Release: 1%{?dist} Summary: Change directory temporarily for a limited scope License: ASL 2.0 Group: Development/Libraries URL: http://search.cpan.org/dist/File-pushd/ Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/File-pushd-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: perl(Module::Build) -BuildRequires: perl(Test::More) >= 0.45 +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description @@ -24,30 +30,30 @@ limited scope, this happens automatically at the end of the scope. %setup -q -n File-pushd-%{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 +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 - -%clean -rm -rf $RPM_BUILD_ROOT +make test %files -%defattr(-,root,root,-) %doc Changes LICENSE README Todo %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Thu Sep 15 2011 Petr Sabata <contyk@xxxxxxxxxx> - 1.001-1 +- 1.001 bump +- Remove now obsolete BuildRoot and defattr +- Migrate to EE::MM +- Correct BR + * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 1.00-9 - Perl mass rebuild diff --git a/sources b/sources index eafadcf..4750af0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c0d63d05db01a6da3aebd7cd6f93e520 File-pushd-1.00.tar.gz +aed697867748e3376f2befc13fb23865 File-pushd-1.001.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel