rpms/perl-Class-Prototyped/devel perl-Class-Prototyped.spec, 1.5, 1.6
Lubomir Rintel
lkundrak at fedoraproject.org
Sun Mar 8 11:24:49 UTC 2009
- Previous message (by thread): rpms/GeoIP/F-9 .cvsignore, 1.12, 1.13 GeoIP.spec, 1.15, 1.16 sources, 1.12, 1.13
- Next message (by thread): rpms/GeoIP/devel .cvsignore, 1.12, 1.13 GeoIP.spec, 1.17, 1.18 sources, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lkundrak
Update of /cvs/pkgs/rpms/perl-Class-Prototyped/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6724
Modified Files:
perl-Class-Prototyped.spec
Log Message:
* Sun Mar 9 2009 Lubomir Rintel <lkundrak at v3.sk> 1.11-3
- Fix permissions
- Fix requires/provides
Index: perl-Class-Prototyped.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Class-Prototyped/devel/perl-Class-Prototyped.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Class-Prototyped.spec 26 Feb 2009 13:11:04 -0000 1.5
+++ perl-Class-Prototyped.spec 8 Mar 2009 11:24:15 -0000 1.6
@@ -1,6 +1,6 @@
Name: perl-Class-Prototyped
Version: 1.11
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Fast prototype-based OO programming in Perl
License: GPL+ or Artistic
Group: Development/Libraries
@@ -19,6 +19,27 @@
%prep
%setup -q -n Class-Prototyped-%{version}
+cat <<EOF >%{name}-prov
+#!/bin/bash
+# Filter out bogus provides from documentation
+%{__perl_provides} $@ |sed -e 's/perl([ABCD])//g;s/perl(My[^)]*Class)//g'
+EOF
+
+cat <<EOF >%{name}-req
+#!/bin/bash
+# Class/Prototyped/Graph.pm doesn't define Class::Prototyped::Graph package
+# Benchmark is dragged in by a regression test
+%{__perl_requires} $@ |sed -e '/perl(Class::Prototyped::Graph)/d;/perl(Benchmark)/d'
+EOF
+
+%global __perl_provides %{_builddir}/Class-Prototyped-%{version}/%{name}-prov
+%global __perl_requires %{_builddir}/Class-Prototyped-%{version}/%{name}-req
+chmod +x %{__perl_provides} %{__perl_requires}
+
+# Documentation and libraries should not be executable
+chmod -x perf/* examples/* Changes lib/Class/*.pm lib/Class/Prototyped/*
+
+
%build
%{__perl} Build.PL installdirs=vendor
./Build
@@ -39,11 +60,15 @@
%files
%defattr(-,root,root,-)
-%doc Changes README perf/ examples/ t/
+%doc Changes README perf/ examples/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Sun Mar 9 2009 Lubomir Rintel <lkundrak at v3.sk> 1.11-3
+- Fix permissions
+- Fix requires/provides
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/GeoIP/F-9 .cvsignore, 1.12, 1.13 GeoIP.spec, 1.15, 1.16 sources, 1.12, 1.13
- Next message (by thread): rpms/GeoIP/devel .cvsignore, 1.12, 1.13 GeoIP.spec, 1.17, 1.18 sources, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list