rpms/perl-ParseLex/EL-4 ParseLex-2.15-syntax.patch, NONE, 1.1 perl-ParseLex.spec, NONE, 1.1 sources, 1.1, 1.2
Jeff Fearn (jfearn)
fedora-extras-commits at redhat.com
Wed Feb 13 03:50:31 UTC 2008
- Previous message (by thread): rpms/libgnomeui/devel .cvsignore, 1.47, 1.48 libgnomeui.spec, 1.84, 1.85 sources, 1.47, 1.48
- Next message (by thread): rpms/perl-ParseLex/EL-5 ParseLex-2.15-syntax.patch, NONE, 1.1 perl-ParseLex.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: jfearn
Update of /cvs/pkgs/rpms/perl-ParseLex/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8457/EL-4
Modified Files:
sources
Added Files:
ParseLex-2.15-syntax.patch perl-ParseLex.spec
Log Message:
branch
ParseLex-2.15-syntax.patch:
--- NEW FILE ParseLex-2.15-syntax.patch ---
--- ParseLex-2.15/lib/Parse/Template.pm.syntax 2003-09-25 11:09:46.000000000 +1000
+++ ParseLex-2.15/lib/Parse/Template.pm 2003-09-25 11:09:54.000000000 +1000
@@ -1,4 +1,4 @@
-use strict
+use strict;
require 5.004;
package Parse::Template;
$Parse::Template::VERSION = '0.32';
@@ -132,7 +132,7 @@
}
# evaluated expressions are not always available in (caller(1))[6];
if (defined($1) and $1 ne '') {
- $expr = $1; # what is the template expression?
+ my $expr = $1; # what is the template expression?
{ package DB; # what is the part name?
@DB::caller = caller(2); # why is this needed? /ee?
@DB::caller = caller(1);
--- NEW FILE perl-ParseLex.spec ---
Name: perl-ParseLex
Summary: Generator of lexical analyzers
Version: 2.15
Release: 11%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildArch: noarch
# TODO Try to Push patches to CPAN when there is time
URL: http://search.cpan.org/dist/ParseLex
Source: http://www.cpan.org/authors/id/P/PV/PVERD/ParseLex-%{version}.tar.gz
Patch0: ParseLex-2.15-syntax.patch
BuildRequires: perl(ExtUtils::MakeMaker)
%description
The classes "Parse::Lex" and "Parse::CLex" create lexical analyzers.
%prep
%setup -q -n ParseLex-%{version}
%patch0 -p1
# Filter unwanted Provides:
%{__cat} << \EOF > ParseLex-prov
#!/bin/sh
%{__perl_provides} $* |\
%{__sed} -e '/perl(Parse::Token)$/d'
EOF
%define __perl_provides %{_builddir}/ParseLex-%{version}/ParseLex-prov
%{__chmod} +x %{__perl_provides}
# remove all execute bits from the doc stuff and fix interpreter
# so that dependency generator doesn't try to fulfill deps
find examples -type f -exec %{__chmod} -x {} 2>/dev/null ';'
find examples -type f -exec %{__sed} -i 's#/usr/local/bin/perl#/usr/bin/perl#' {} 2>/dev/null ';'
# convert Changes to UTF8
iconv -f iso8859-1 -t utf-8 Changes > changes
%{__mv} changes Changes
# fix test4
%{__sed} -i -e 's/chunk/line/g' t/test4.t
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT create_packlist=0
### Clean up buildroot
find $RPM_BUILD_ROOT -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root, -)
%doc Changes README examples
%{perl_vendorlib}/Parse/
%{_mandir}/man3/*.3pm*
%changelog
* Fri Jan 18 2008 Jeff Fearn <jfearn at redhat.com> 2.15-11
- iconv in the prep, beer on the way
* Thu Jan 17 2008 Jeff Fearn <jfearn at redhat.com> 2.15-10
- Fixed unwanted Provides Filter
- Consistant use of macros
- Better summary
* Wed Jan 16 2008 Jeff Fearn <jfearn at redhat.com> 2.15-9
- Add missing BuildRequires
* Wed Jan 16 2008 Jeff Fearn <jfearn at redhat.com> 2.15-8
- Changed Development/Languages to Development/Libraries
- Fixed test
- Removed useless-explicit-provides
- Converted Changes to utf-8
* Tue Jan 08 2008 Jeff Fearn <jfearn at redhat.com> 2.15-7
- Remove %%doc from man files, used glob
- Simplify Parse in filelist
- Simplify %%clean
- Remove OPTIMIZE setting from make call
- Change buildroot to fedora style
- Remove unused defines
* Mon Jan 07 2008 Jeff Fearn <jfearn at redhat.com> 2.15-6
- Tidy up spec
* Mon Dec 10 2007 Jeff Fearn <jfearn at redhat.com> 2.15-5
- noarch FTW
- add dist to release
* Tue Apr 10 2007 ttrinks at redhat.com
- Rebuilt for RHEL5
- Changed arch from noarch to i386
* Mon Jul 31 2006 mschick at redhat.com
- Tagged for e-s-o repo
- Rebuilt for RHEL4
* Thu Sep 25 2003 pgampe at redhat.com
- Patch broken syntax in upstream Template.pm
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-ParseLex/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 24 Jan 2008 23:01:44 -0000 1.1
+++ sources 13 Feb 2008 03:49:58 -0000 1.2
@@ -0,0 +1 @@
+aeb0bb36454485d28214aad0907d5c92 ParseLex-2.15.tar.gz
- Previous message (by thread): rpms/libgnomeui/devel .cvsignore, 1.47, 1.48 libgnomeui.spec, 1.84, 1.85 sources, 1.47, 1.48
- Next message (by thread): rpms/perl-ParseLex/EL-5 ParseLex-2.15-syntax.patch, NONE, 1.1 perl-ParseLex.spec, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list