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
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/Perl-Critic/
|
URL: http://search.cpan.org/dist/Perl-Critic/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/E/EL/ELLIOTJS/Perl-Critic-%{version}.tar.gz
|
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
|
BuildArch: noarch
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
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
|
%prep
|
||||||
%setup -q -n Perl-Critic-%{version}
|
%setup -q -n Perl-Critic-%{version}
|
||||||
|
|
||||||
find . -type f -exec chmod -c -x {} +
|
find . -type f -exec chmod -c -x {} +
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL installdirs=vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
%{_fixperms} $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
@ -108,10 +106,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes LICENSE README TODO.pod examples/ extras/ tools/
|
%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)
|
block; this was fixed by PPI 1.215 (CPAN RT#64132)
|
||||||
- bump PPI version requirement to 1.215
|
- bump PPI version requirement to 1.215
|
||||||
- BR/R: perl(Pod::Parser)
|
- 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
|
* Mon Mar 7 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.113-1
|
||||||
- update to 1.113
|
- update to 1.113
|
||||||
|
|
Loading…
Reference in New Issue