Group :: Desenvolvimento/Outros
RPM: perl-Plack-Middleware-Test-StashWarnings
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(App/pod2pdf.pm) perl(CPAN.pm) perl(Config.pm) perl(Cwd.pm) perl(Fcntl.pm) perl(File/Basename.pm) perl(File/Find.pm) perl(File/Spec.pm) perl(File/Temp.pm) perl(FileHandle.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(Scalar/Util.pm) perl(Socket.pm) perl(Storable.pm) perl(YAML/Tiny.pm) perl(base.pm) perl(parent.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Plack-Middleware-Test-StashWarnings
Version: 0.08
Release: alt2_18
Summary: Test your application's warnings
License: GPL+ or Artistic
URL: https://metacpan.org/release/Plack-Middleware-Test-StashWarnings
Source0: https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/Plack-Middleware-Test-StashWarnings-%{version}.tar.gz
BuildArch: noarch
BuildRequires: %{__perl}
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(HTTP/Request/Common.pm)
BuildRequires: perl(Plack.pm)
BuildRequires: perl(Plack/Request.pm)
BuildRequires: perl(Plack/Test.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Synopsis.pm)
BuildRequires: perl(inc/Module/Install.pm)
BuildRequires: perl(Module/Install/ReadmeFromPod.pm)
BuildRequires: perl(Module/Install/AuthorTests.pm)
Source44: import.info
%description
Plack::Middleware::Test::StashWarnings is a Plack middleware component to
record warnings generated by your application so that you can test them to
make sure your application complains about the right things.
%prep
%setup -q -n Plack-Middleware-Test-StashWarnings-%{version}
rm -r inc/
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
%{__make} test
%files
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Todas as alterações você pod ver aqui
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(App/pod2pdf.pm) perl(CPAN.pm) perl(Config.pm) perl(Cwd.pm) perl(Fcntl.pm) perl(File/Basename.pm) perl(File/Find.pm) perl(File/Spec.pm) perl(File/Temp.pm) perl(FileHandle.pm) perl(JSON.pm) perl(LWP/Simple.pm) perl(Module/Build.pm) perl(Net/FTP.pm) perl(Parse/CPAN/Meta.pm) perl(Scalar/Util.pm) perl(Socket.pm) perl(Storable.pm) perl(YAML/Tiny.pm) perl(base.pm) perl(parent.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Plack-Middleware-Test-StashWarnings
Version: 0.08
Release: alt2_18
Summary: Test your application's warnings
License: GPL+ or Artistic
URL: https://metacpan.org/release/Plack-Middleware-Test-StashWarnings
Source0: https://cpan.metacpan.org/authors/id/A/AL/ALEXMV/Plack-Middleware-Test-StashWarnings-%{version}.tar.gz
BuildArch: noarch
BuildRequires: %{__perl}
BuildRequires: rpm-build-perl
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(HTTP/Request/Common.pm)
BuildRequires: perl(Plack.pm)
BuildRequires: perl(Plack/Request.pm)
BuildRequires: perl(Plack/Test.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(Test/Synopsis.pm)
BuildRequires: perl(inc/Module/Install.pm)
BuildRequires: perl(Module/Install/ReadmeFromPod.pm)
BuildRequires: perl(Module/Install/AuthorTests.pm)
Source44: import.info
%description
Plack::Middleware::Test::StashWarnings is a Plack middleware component to
record warnings generated by your application so that you can test them to
make sure your application complains about the right things.
%prep
%setup -q -n Plack-Middleware-Test-StashWarnings-%{version}
rm -r inc/
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
%{__make} test
%files
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Todas as alterações você pod ver aqui