- fix build
This commit is contained in:
parent
85fd52bf95
commit
7c5fea409d
@ -1,6 +1,6 @@
|
||||
Name: perl-File-ShareDir
|
||||
Version: 1.00
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Locate per-dist and per-module shared files
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
@ -8,7 +8,6 @@ URL: http://search.cpan.org/dist/File-ShareDir/
|
||||
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-ShareDir-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl >= 0:5.005
|
||||
BuildRequires: perl(Class::Inspector) >= 1.12
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Params::Util) >= 0.07
|
||||
@ -41,6 +40,8 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
chmod 644 share/sample.txt
|
||||
chmod 644 share/subdir/sample.txt
|
||||
rm -rf $RPM_BUILD_ROOT/blib/lib/auto/share/dist/File-ShareDir/
|
||||
rm -rf $RPM_BUILD_ROOT/blib/lib/auto/share/module/File-ShareDir/test_file.txt
|
||||
|
||||
%check
|
||||
make test AUTOMATED_TESTING=1
|
||||
@ -55,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jan 14 2010 Marcela Mašláňová 1.00-5
|
||||
- fix build
|
||||
|
||||
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.00-4
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user