rpms/perl-JSON/devel .cvsignore, 1.6, 1.7 perl-JSON.spec, 1.7, 1.8 sources, 1.6, 1.7

Chris Weyl cweyl at fedoraproject.org
Mon Mar 10 03:20:29 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-JSON/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17259

Modified Files:
	.cvsignore perl-JSON.spec sources 
Log Message:
* Sun Mar 09 2008 Chris Weyl <cweyl at alumni.drew.edu> 2.07-1
- update to 2.x series before F9



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-JSON/devel/.cvsignore,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- .cvsignore	27 Nov 2007 02:17:02 -0000	1.6
+++ .cvsignore	10 Mar 2008 03:19:50 -0000	1.7
@@ -1 +1 @@
-JSON-1.15.tar.gz
+JSON-2.07.tar.gz


Index: perl-JSON.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-JSON/devel/perl-JSON.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- perl-JSON.spec	5 Mar 2008 16:51:42 -0000	1.7
+++ perl-JSON.spec	10 Mar 2008 03:19:50 -0000	1.8
@@ -1,6 +1,6 @@
 Name:           perl-JSON
-Version:        1.15
-Release:        2%{?dist}
+Version:        2.07 
+Release:        1%{?dist}
 Summary:        Parse and convert to JSON (JavaScript Object Notation)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -37,14 +37,15 @@
 %setup -q -n JSON-%{version}
 
 # make rpmlint happy...
-find . -type f -exec chmod -c -x {} \;
-sed -i 's/\r//' README t/*.t
+find .  -type f -exec chmod -c -x {} + 
+find t/ -type f -exec perl -pi -e 's|^#! perl|#!/usr/bin/perl|' {} +
+sed -i 's/\r//' README t/*
 
 # Filter unwanted Provides:
 cat << \EOF > %{name}-prov
 #!/bin/sh
 %{__perl_provides} $* |\
-  sed -e '/perl(My.*)/d'
+  sed -e '/perl(My.*)/d; /perl(_unicode_handling)/d'
 EOF
 
 %define __perl_provides %{_builddir}/JSON-%{version}/%{name}-prov
@@ -59,7 +60,7 @@
 
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
 
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} %{buildroot}/*
@@ -77,6 +78,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 09 2008 Chris Weyl <cweyl at alumni.drew.edu> 2.07-1
+- update to 2.x series before F9
+
 * Wed Mar  5 2008 Tom "spot" Callaway <tcallawa at redhat.com> 1.15-2
 - rebuild for new perl
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-JSON/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	27 Nov 2007 02:17:02 -0000	1.6
+++ sources	10 Mar 2008 03:19:50 -0000	1.7
@@ -1 +1 @@
-4f96dd0b68b644bc07453afc29105b7c  JSON-1.15.tar.gz
+1ca7b2851f1a8e835eec46d013da8a2b  JSON-2.07.tar.gz




More information about the Fedora-perl-devel-list mailing list