- cleanup spec for modern rpmbuild

f38
Iain Arnell 15 years ago
parent 9b5d1541bf
commit e011321bdb

@ -1,12 +1,11 @@
Name: perl-B-Compiling Name: perl-B-Compiling
Version: 0.02 Version: 0.02
Release: 1%{?dist} Release: 2%{?dist}
Summary: Expose PL_compiling to perl Summary: Expose PL_compiling to perl
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/B-Compiling/ URL: http://search.cpan.org/dist/B-Compiling/
Source0: http://www.cpan.org/authors/id/F/FL/FLORA/B-Compiling-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/F/FL/FLORA/B-Compiling-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::More) BuildRequires: perl(Test::More)
@ -25,8 +24,6 @@ This module exposes the perl interpreter's PL_compiling variable to perl.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT
make pure_install DESTDIR=$RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
@ -38,9 +35,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%check %check
make test make test
%clean
rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc Changes README %doc Changes README
@ -49,5 +43,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Jul 17 2010 Iain Arnell <iarnell@gmail.com> 0.02-2
- cleanup spec for modern rpmbuild
* Sat Jul 03 2010 Iain Arnell <iarnell@gmail.com> 0.02-1 * Sat Jul 03 2010 Iain Arnell <iarnell@gmail.com> 0.02-1
- Specfile autogenerated by cpanspec 1.78. - Specfile autogenerated by cpanspec 1.78.

Loading…
Cancel
Save