From 15bc7c5cb17c1b0bcd25bd3bf19a673a48d93226 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Mon, 7 Jan 2008 16:40:12 +0000 Subject: [PATCH] - remove *.orig files from t/ (BZ#427754) --- perl-Moose.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-Moose.spec b/perl-Moose.spec index 89e3e36..fecccfc 100644 --- a/perl-Moose.spec +++ b/perl-Moose.spec @@ -1,6 +1,6 @@ Name: perl-Moose Version: 0.33 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Complete modern object system for Perl 5 License: GPL+ or Artistic Group: Development/Libraries @@ -71,6 +71,9 @@ Perl 6 OO. So instead of switching to Ruby, I wrote Moose :) find t/ -type f -exec perl -pi -e 's|^#!/usr/local/bin|#!/usr/bin|' {} + +# remove the originals of patched files... +find . -name '*.orig' -exec rm -v {} + + # Filter unwanted Provides: cat << \EOF > %{name}-prov #!/bin/sh @@ -108,6 +111,9 @@ rm -rf %{buildroot} %{_mandir}/man3/* %changelog +* Mon Jan 07 2008 Chris Weyl 0.33-2 +- remove *.orig files from t/ (BZ#427754) + * Sat Dec 15 2007 Chris Weyl 0.33-1 - update to 0.33