Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:snagview:perl-znuny
Test-Without-Module
perl-test-without-module.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-test-without-module.spec of Package Test-Without-Module
%define cpan_name Test-Without-Module Name: perl-Test-Without-Module Version: 0.21 Release: 1 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Test::Without::Module - Test fallback behaviour in absence of modules URL: https://metacpan.org/release/%{cpan_name} Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/Test-Without-Module-0.21.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Test::More) BuildRequires: perl(ExtUtils::MakeMaker) %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 %autosetup -n %{cpan_name}-%{version} find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build perl Makefile.PL INSTALLDIRS=vendor %make_build %check make test %install #%perl_make_install #%perl_process_packlist #%perl_gen_filelist make DESTDIR=$RPM_BUILD_ROOT install_vendor find %{buildroot} -type f -name "perllocal.pod" -exec rm -f {} \; find %{buildroot} -type f -name ".packlist" -exec rm -f {} \; rm -rf %{buildroot}/usr/share/man/ find %{buildroot} -type f | sed "s#%{buildroot}##g" > %{buildroot}/../%{name}-filelist %files -f %{buildroot}/../%{name}-filelist %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor