Initial import.
This commit is contained in:
parent
b95cd5212b
commit
3965fbb1e2
@ -0,0 +1 @@
|
||||
Test-Without-Module-0.17.tar.gz
|
1
import.log
Normal file
1
import.log
Normal file
@ -0,0 +1 @@
|
||||
perl-Test-Without-Module-0_17-2_fc13:HEAD:perl-Test-Without-Module-0.17-2.fc13.src.rpm:1279524078
|
62
perl-Test-Without-Module.spec
Normal file
62
perl-Test-Without-Module.spec
Normal file
@ -0,0 +1,62 @@
|
||||
Name: perl-Test-Without-Module
|
||||
Version: 0.17
|
||||
Release: 2%{?dist}
|
||||
Summary: Test fallback behavior in absence of modules
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Test-Without-Module/
|
||||
Source0: http://www.cpan.org/modules/by-module/Test/Test-Without-Module-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Slurp)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(Test::Pod)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
This module allows you to deliberately hide modules from a program even
|
||||
though they are installed. This is mostly useful for testing modules that
|
||||
have a fallback when a certain dependency module is not installed.
|
||||
|
||||
%prep
|
||||
%setup -q -n Test-Without-Module-%{version}
|
||||
find . -type f -exec chmod 644 {} \;
|
||||
sed -i -e 's/\r//' README Changes
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
make pure_install DESTDIR=$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 MANIFEST.skip README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 22 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> - 0.17-2
|
||||
- Remove executable permissions
|
||||
- Dos2unix the README and Changes file
|
||||
- Americanise the summary
|
||||
|
||||
* Sun Jun 27 2010 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 0.17-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in New Issue
Block a user