Name: perl-Plack-Middleware-Header Version: 0.04 Release: 1%{?dist} Summary: Modify HTTP response headers License: GPL+ or Artistic Group: Development/Libraries URL: https://search.cpan.org/dist/Plack-Middleware-Header/ Source0: https://www.cpan.org/authors/id/C/CH/CHIBA/Plack-Middleware-Header-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Filter::Util::Call) BuildRequires: perl(parent) BuildRequires: perl(Plack::Middleware) BuildRequires: perl(Test::More) BuildRequires: perl(Plack::Test) Requires: perl(Filter::Util::Call) Requires: perl(parent) Requires: perl(Plack::Middleware) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description Plack::Middleware::Header %prep %setup -q -n Plack-Middleware-Header-%{version} %build export PERL_USE_UNSAFE_INC=1 %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install export PERL_USE_UNSAFE_INC=1 rm -rf %{buildroot} 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 export PERL_USE_UNSAFE_INC=1 make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Feb 03 2023 yaroslav@fedevych.name 0.04-1 - Specfile autogenerated by cpanspec 1.78.