rpms/perl-Contextual-Return/devel filter-provides.sh, NONE, 1.1 perl-Contextual-Return.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Mon Jul 3 17:56:18 UTC 2006
Author: cweyl
Update of /cvs/extras/rpms/perl-Contextual-Return/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18064/devel
Modified Files:
.cvsignore sources
Added Files:
filter-provides.sh perl-Contextual-Return.spec
Log Message:
auto-import perl-Contextual-Return-v0.1.0-0.1.fc5 on branch devel from perl-Contextual-Return-v0.1.0-0.1.fc5.src.rpm
--- NEW FILE filter-provides.sh ---
#!/bin/sh
/usr/lib/rpm/perl.prov $* |
sed -e '/perl(DB)/d' -e '/perl(Carp)/d'
--- NEW FILE perl-Contextual-Return.spec ---
Name: perl-Contextual-Return
Version: v0.1.0
Release: 0.1%{?dist}
Summary: Create context-senstive return values
Group: Development/Libraries
License: Artistic or GPL
URL: http://search.cpan.org/dist/Contextual-Return
Source0: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/Contextual-Return-v0.1.0.tar.gz
Source98: filter-provides.sh
%define __perl_provides %{SOURCE98}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(Test::More), perl(Want), perl(version)
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module allows you to define return values of a perl sub which are
appropriate given the calling context.
%prep
%setup -q -n Contextual-Return-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Thu Jun 29 2006 Chris Weyl <cweyl at alumni.drew.edu> v0.1.0-0.1
- filter unwanted provides
- add additional BR, the better to test with
* Thu Jun 29 2006 Chris Weyl <cweyl at alumni.drew.edu> v0.1.0-0
- Initial spec file for F-E
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-Contextual-Return/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 3 Jul 2006 17:56:08 -0000 1.1
+++ .cvsignore 3 Jul 2006 17:56:18 -0000 1.2
@@ -0,0 +1 @@
+Contextual-Return-v0.1.0.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-Contextual-Return/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 3 Jul 2006 17:56:08 -0000 1.1
+++ sources 3 Jul 2006 17:56:18 -0000 1.2
@@ -0,0 +1 @@
+2651c1c521ad4b42e0efbeac664fade6 Contextual-Return-v0.1.0.tar.gz
More information about the fedora-extras-commits
mailing list