1.001 bump
This commit is contained in:
parent
6b123e36e3
commit
c94c12bf11
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
File-pushd-1.00.tar.gz
|
||||
/File-pushd-1.001.tar.gz
|
||||
|
@ -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@redhat.com> - 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@redhat.com> - 1.00-9
|
||||
- Perl mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user