[packages/perl-Plack-Middleware-FixMissingBodyInRedirect] New package
arekm
arekm at pld-linux.org
Thu Nov 19 15:23:24 CET 2026
commit bae4509641b37873c2c2b7841591e86408c60b96
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Nov 19 14:50:48 2026 +0100
New package
...-Plack-Middleware-FixMissingBodyInRedirect.spec | 53 ++++++++++++++++++++++
1 file changed, 53 insertions(+)
---
diff --git a/perl-Plack-Middleware-FixMissingBodyInRedirect.spec b/perl-Plack-Middleware-FixMissingBodyInRedirect.spec
new file mode 100644
index 0000000..cc4ba07
--- /dev/null
+++ b/perl-Plack-Middleware-FixMissingBodyInRedirect.spec
@@ -0,0 +1,53 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define pdir Plack
+%define pnam Middleware-FixMissingBodyInRedirect
+Summary: Plack::Middleware-FixMissingBodyInRedirect - set body for redirect response, if it's not already set
+Name: perl-Plack-Middleware-FixMissingBodyInRedirect
+Version: 0.12
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: https://www.cpan.org/authors/id/S/SW/SWEETKID/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: f570ae069684cfafc099283801ad058d
+URL: https://metacpan.org/dist/Plack-Middleware-FixMissingBodyInRedirect
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-HTTP-Message
+BuildRequires: perl-Plack
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Plack::Middleware::FixMissingBodyInRedirect sets the body of a
+redirect response, if it is not already set.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Plack/Middleware/FixMissingBodyInRedirect.pm
+%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Plack-Middleware-FixMissingBodyInRedirect.git/commitdiff/bae4509641b37873c2c2b7841591e86408c60b96
More information about the pld-cvs-commit
mailing list