ppisar pushed to perl-Canary-Stability (el5). "Tunes for EPEL-5"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Nov 5 08:43:40 UTC 2015
From 243986a288019d88cfe7773015d17e4812d65860 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Thu, 5 Nov 2015 09:40:58 +0100
Subject: Tunes for EPEL-5
---
perl-Canary-Stability.spec | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/perl-Canary-Stability.spec b/perl-Canary-Stability.spec
index 8b14ff6..fced8ed 100644
--- a/perl-Canary-Stability.spec
+++ b/perl-Canary-Stability.spec
@@ -8,6 +8,7 @@ Group: Development/Libraries
URL: http://search.cpan.org/dist/Canary-Stability/
Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/Canary-Stability-%{version}.tar.gz
BuildArch: noarch
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
@@ -28,10 +29,14 @@ perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
+rm -rf %{buildroot}
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/*
+%clean
+rm -rf %{buildroot}
+
%check
make test
--
cgit v0.11.2
http://pkgs.fedoraproject.org/cgit/perl-Canary-Stability.git/commit/?h=el5&id=243986a288019d88cfe7773015d17e4812d65860
More information about the perl-devel
mailing list