rpms/perl-Spoon/devel Spoon-filter-provides.sh, NONE, 1.1 .cvsignore, 1.2, 1.3 perl-Spoon.spec, 1.4, 1.5 sources, 1.2, 1.3 filter-provides.sh, 1.2, NONE

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Tue Dec 26 18:30:47 UTC 2006


Author: steve

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

Modified Files:
	.cvsignore perl-Spoon.spec sources 
Added Files:
	Spoon-filter-provides.sh 
Removed Files:
	filter-provides.sh 
Log Message:
Update to 0.24.
Use fixperms macro instead of our own chmod incantation.
Other minor cleanup to more closely match current cpanspec output.



--- NEW FILE Spoon-filter-provides.sh ---
#!/bin/sh

@@PERL_PROV@@ "$@" | sed -e '/^perl(IO::All)$/d'


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Spoon/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	3 Mar 2006 01:30:36 -0000	1.2
+++ .cvsignore	26 Dec 2006 18:30:17 -0000	1.3
@@ -1 +1 @@
-Spoon-0.23.tar.gz
+Spoon-0.24.tar.gz


Index: perl-Spoon.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Spoon/devel/perl-Spoon.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-Spoon.spec	18 Sep 2006 21:51:27 -0000	1.4
+++ perl-Spoon.spec	26 Dec 2006 18:30:17 -0000	1.5
@@ -1,14 +1,11 @@
 Name:           perl-Spoon
-Version:        0.23
-Release:        5%{?dist}
-Summary:        Spiffy application framework
+Version:        0.24
+Release:        1%{?dist}
+Summary:        Spiffy Application Building Framework
 License:        GPL or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Spoon/
 Source0:        http://www.cpan.org/authors/id/I/IN/INGY/Spoon-%{version}.tar.gz
-Source1:        filter-provides.sh
-%define _use_internal_dependency_generator 0
-%define __find_provides %{SOURCE1}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(IO::All) >= 0.32
@@ -22,6 +19,10 @@
 Requires:       perl(Template) >= 2.10
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
+Source99:       Spoon-filter-provides.sh
+%global real_perl_provides %{__perl_provides}
+%define __perl_provides %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)-filter-provides
+
 %description
 Spoon is an Application Framework that is designed primarily for
 building Social Software web applications. The Kwiki wiki software is
@@ -30,6 +31,9 @@
 %prep
 %setup -q -n Spoon-%{version}
 
+sed -e 's,@@PERL_PROV@@,%{real_perl_provides},' %{SOURCE99} > %{__perl_provides}
+chmod +x %{__perl_provides}
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -42,24 +46,26 @@
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
-chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
-
-perldoc -t perlgpl > COPYING
-perldoc -t perlartistic > Artistic
+%{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT %{__perl_provides}
 
 %files
 %defattr(-,root,root,-)
-%doc Changes README COPYING Artistic
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Tue Dec 26 2006 Steven Pritchard <steve at kspei.com> 0.24-1
+- Update to 0.24.
+- Use fixperms macro instead of our own chmod incantation.
+- Other minor cleanup to more closely match current cpanspec output.
+
 * Sat Sep 16 2006 Steven Pritchard <steve at kspei.com> 0.23-5
 - Fix find option order.
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Spoon/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	3 Mar 2006 01:30:36 -0000	1.2
+++ sources	26 Dec 2006 18:30:17 -0000	1.3
@@ -1 +1 @@
-96acf017b3aa492e62afb1f826d3d9bd  Spoon-0.23.tar.gz
+6f60edc244a992884f236470180f6867  Spoon-0.24.tar.gz


--- filter-provides.sh DELETED ---




More information about the fedora-extras-commits mailing list