- cleanup spec for modern rpmbuild

f38
Iain Arnell 15 years ago
parent 8c80afde0c
commit f133d62716

@ -1,13 +1,11 @@
Name: perl-Devel-Declare Name: perl-Devel-Declare
Version: 0.006000 Version: 0.006000
Release: 1%{?dist} Release: 2%{?dist}
Summary: Adding keywords to perl, in perl Summary: Adding keywords to perl, in perl
License: GPL+ or Artistic License: GPL+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-Declare/ URL: http://search.cpan.org/dist/Devel-Declare/
Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Devel-Declare-%{version}.tar.gz Source0: http://www.cpan.org/authors/id/F/FL/FLORA/Devel-Declare-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl >= 1:5.8.1
# for test - not yet in fedora # for test - not yet in fedora
# BuildRequires: perl(B::Compiling) # BuildRequires: perl(B::Compiling)
BuildRequires: perl(B::Hooks::EndOfScope) >= 0.05 BuildRequires: perl(B::Hooks::EndOfScope) >= 0.05
@ -35,8 +33,6 @@ take over Perl's parser, allowing the creation of new syntax.
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 {} \;
@ -48,9 +44,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
@ -59,5 +52,8 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Sat Jul 17 2010 Iain Arnell <iarnell@gmail.com> 0.006000-2
- cleanup spec for modern rpmbuild
* Sat Jul 03 2010 Iain Arnell <iarnell@gmail.com> 0.006000-1 * Sat Jul 03 2010 Iain Arnell <iarnell@gmail.com> 0.006000-1
- Specfile autogenerated by cpanspec 1.78. - Specfile autogenerated by cpanspec 1.78.

Loading…
Cancel
Save