Drop redundant (for modern rpm) BuildRoot tag and buildroot cleaning
This commit is contained in:
parent
8d08a157e5
commit
f7d19979d2
@ -7,7 +7,6 @@ Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/Perl-Critic/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
@ -87,18 +86,17 @@ also create new Policy modules that suit your own tastes.
|
||||
|
||||
%prep
|
||||
%setup -q -n Perl-Critic-%{version}
|
||||
|
||||
find . -type f -exec chmod -c -x {} +
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
%{_fixperms} $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%check
|
||||
@ -108,10 +106,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
./Build test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes LICENSE README TODO.pod examples/ extras/ tools/
|
||||
@ -150,6 +144,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
block; this was fixed by PPI 1.215 (CPAN RT#64132)
|
||||
- bump PPI version requirement to 1.215
|
||||
- BR/R: perl(Pod::Parser)
|
||||
- drop redundant (for modern rpm) BuildRoot tag and buildroot cleaning
|
||||
|
||||
* Mon Mar 7 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.113-1
|
||||
- update to 1.113
|
||||
|
Loading…
Reference in New Issue
Block a user