rpms/perl-ParseLex/EL-5 perl-ParseLex.spec,1.5,1.6
Jeff Fearn (jfearn)
fedora-extras-commits at redhat.com
Mon Apr 7 02:43:57 UTC 2008
- Previous message (by thread): rpms/nautilus/devel parent-info.patch, NONE, 1.1 nautilus.spec, 1.193, 1.194
- Next message (by thread): rpms/lirc/F-8 .cvsignore, 1.20, 1.21 lirc.spec, 1.27, 1.28 sources, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jfearn
Update of /cvs/pkgs/rpms/perl-ParseLex/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1571
Modified Files:
perl-ParseLex.spec
Log Message:
fix version missing from provides
Index: perl-ParseLex.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ParseLex/EL-5/perl-ParseLex.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-ParseLex.spec 7 Apr 2008 00:58:22 -0000 1.5
+++ perl-ParseLex.spec 7 Apr 2008 02:43:06 -0000 1.6
@@ -16,7 +16,7 @@
The classes "Parse::Lex" and "Parse::CLex" create lexical analyzers.
%prep
-%setup -q
+%setup -q -n ParseLex-%{version}
%patch0 -p1
# Filter unwanted Provides:
@@ -40,6 +40,9 @@
# fix test4
%{__sed} -i -e 's/chunk/line/g' t/test4.t
+# Fix missing version in Provides
+%{__perl} -p -i -e 's/\$Parse::Token::VERSION\s*=\s+.(.*).\;/use vars qw\(\$VERSION\)\;\n\$VERSION = $1\;/g' lib/Parse/Token.pm
+
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"
%{__make} %{?_smp_mflags}
- Previous message (by thread): rpms/nautilus/devel parent-info.patch, NONE, 1.1 nautilus.spec, 1.193, 1.194
- Next message (by thread): rpms/lirc/F-8 .cvsignore, 1.20, 1.21 lirc.spec, 1.27, 1.28 sources, 1.20, 1.21
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list