commit 15f9c4fda1c2de35d3509bfe174c676197e08482 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Tue Oct 14 14:25:24 2014 +0100 Add legacy spec file elements for EPEL-5 compatibility perl-Safe-Isa.spec | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) --- diff --git a/perl-Safe-Isa.spec b/perl-Safe-Isa.spec index fb6f45a..69d3234 100644 --- a/perl-Safe-Isa.spec +++ b/perl-Safe-Isa.spec @@ -1,11 +1,12 @@ Name: perl-Safe-Isa Version: 1.000005 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Call isa, can, does and DOES safely on things that may not be objects License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Safe-Isa/ Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Safe-Isa-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Build BuildRequires: perl @@ -39,6 +40,7 @@ perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install +rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; %{_fixperms} %{buildroot} @@ -46,12 +48,18 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \; %check make test +%clean +rm -rf %{buildroot} + %files %doc Changes README %{perl_vendorlib}/Safe/ %{_mandir}/man3/Safe::Isa.3* %changelog +* Tue Oct 14 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.000005-2 +- Add legacy spec file elements for EPEL-5 compatibility + * Tue Oct 14 2014 Paul Howarth <paul@xxxxxxxxxxxx> - 1.000005-1 - Update to 1.000005 - Fixed slightly mangled metadata from last release -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel