[perl-Sub-Name] Remove useless in-place edit flag in perl filter invocation

Paul Howarth pghmcfc at fedoraproject.org
Wed Jan 15 11:06:24 UTC 2014


commit bfaf02624023394a843c3bf69b8cb0873dd2136a
Author: Paul Howarth <paul at city-fan.org>
Date:   Wed Jan 15 11:05:33 2014 +0000

    Remove useless in-place edit flag in perl filter invocation

 perl-Sub-Name.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/perl-Sub-Name.spec b/perl-Sub-Name.spec
index b828b90..c36e31f 100644
--- a/perl-Sub-Name.spec
+++ b/perl-Sub-Name.spec
@@ -1,5 +1,5 @@
 # Only need manual requires for "use base XXX;" prior to rpm 4.9
-%global rpm49 %(rpm --version | perl -pi -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
+%global rpm49 %(rpm --version | perl -p -e 's/^.* (\\d+)\\.(\\d+).*/sprintf("%d.%03d",$1,$2) ge 4.009 ? 1 : 0/e')
 
 Name:		perl-Sub-Name
 Version:	0.05



More information about the perl-devel mailing list