initial import

This commit is contained in:
Iain Arnell 2009-04-07 03:53:21 +00:00
parent 07aa859f73
commit 85ccc1a6f8
3 changed files with 55 additions and 0 deletions

View File

@ -0,0 +1 @@
Devel-Hide-0.0008.tar.gz

53
perl-Devel-Hide.spec Normal file
View File

@ -0,0 +1,53 @@
Name: perl-Devel-Hide
Version: 0.0008
Release: 1%{?dist}
Summary: Forces the unavailability of specified Perl modules (for testing)
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Devel-Hide/
Source0: http://www.cpan.org/authors/id/F/FE/FERREIRA/Devel-Hide-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.18
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Given a list of Perl modules/filenames, this module makes require and
use statements fail (no matter the specified files/modules are
installed or not).
%prep
%setup -q -n Devel-Hide-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Apr 04 2009 Iain Arnell 0.0008-1
- Specfile autogenerated by cpanspec 1.78.

View File

@ -0,0 +1 @@
3b38c60feed1e922093f5f68dd6d5c20 Devel-Hide-0.0008.tar.gz