Projects
home:Eustace:branches:Eulaceura:Factory
perl-Test-Mock-LWP
_service:obs_scm:perl-Test-Mock-LWP.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:perl-Test-Mock-LWP.spec of Package perl-Test-Mock-LWP
Name: perl-Test-Mock-LWP Version: 0.08 Release: 1 Summary: Easy mocking of LWP packages License: GPL+ or Artistic URL: https://metacpan.org/release/Test-Mock-LWP Source0: https://cpan.metacpan.org/authors/id/L/LU/LUKEC/Test-Mock-LWP-%{version}.tar.gz # Disable unused features in a build script Patch0: Test-Mock-LWP-0.08-Disable-autoinstalling-the-dependencies.patch BuildArch: noarch BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(inc::Module::Install) BuildRequires: perl(Module::Install::Metadata) BuildRequires: perl(Module::Install::WriteAll) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: BuildRequires: perl(base) BuildRequires: perl(Exporter) BuildRequires: perl(strict) BuildRequires: perl(Test::MockObject) >= 1.08 # Tests: BuildRequires: perl(Test::More) >= 0.42 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Test::MockObject) >= 1.08 # Hide private redefinitions %global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\((HTTP::(Request|Response)|LWP::UserAgent)\\) # Remove underspecified dependencies %global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Test::MockObject\\)$ %description A mocking library for testing of code based around LWP. %prep %setup -q -n Test-Mock-LWP-%{version} %patch0 -p1 # Remove bundled modules rm -rf ./inc perl -i -ne 'print $_ unless m{^inc/}' MANIFEST %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Nov 03 2022 wangziliang <wangziliang@kylinos.cn> - 0.08-1 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2