Align epoch with module from Core
This commit is contained in:
parent
ee84713853
commit
e53f3506ca
@ -1,12 +1,12 @@
|
||||
Name: perl-Module-Build
|
||||
Epoch: 1
|
||||
Version: 0.3624
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Build and install Perl modules
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Module-Build/
|
||||
Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Module-Build-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(CPAN::Meta::YAML) >= 0.002
|
||||
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
|
||||
@ -52,22 +52,15 @@ works fine on perl 5.005 if you can install a few additional modules.
|
||||
./Build
|
||||
|
||||
%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/*
|
||||
|
||||
%check
|
||||
rm t/signature.t
|
||||
LANG=C TEST_SIGNATURE=1 MB_TEST_EXPERIMENTAL=1 ./Build test
|
||||
|
||||
#./Build test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes contrib LICENSE README scripts
|
||||
@ -77,6 +70,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 02 2011 Petr Pisar <ppisar@redhat.com> - 1:0.3624-2
|
||||
- Raise epoch to Core level
|
||||
- Remove BuildRoot stuff
|
||||
|
||||
* Mon Feb 28 2011 Marcela Mašláňová <mmaslano@redhat.com> 0.3624-1
|
||||
- update to new version
|
||||
- fix BR, R
|
||||
|
Loading…
Reference in New Issue
Block a user