Blame perl-Apache-Reload.spec

e715cc1
Name:           perl-Apache-Reload
e715cc1
Version:        0.13
bf88cd4
Release:        13%{?dist}
e715cc1
Summary:        Reload changed Perl modules
e715cc1
License:        ASL 2.0
0181dad
URL:            https://metacpan.org/release/Apache-Reload
0181dad
Source0:        https://cpan.metacpan.org/authors/id/S/SH/SHAY/Apache-Reload-%{version}.tar.gz
e715cc1
BuildArch:      noarch
e715cc1
BuildRequires:  coreutils
e715cc1
BuildRequires:  findutils
e715cc1
BuildRequires:  make
7d791c5
BuildRequires:  perl-interpreter
e715cc1
BuildRequires:  perl-generators
e715cc1
# Apache::Reload from ./lib is loaded
e715cc1
BuildRequires:  perl(Config)
e715cc1
# ExtUtils::MakeMaker not used because we build for mod_perl-2 only
e715cc1
# File::Spec not used because we build for mod_perl-2 only
e715cc1
BuildRequires:  perl(lib)
e715cc1
# mod_perl not used
e715cc1
BuildRequires:  perl(mod_perl2) >= 1.99022
e715cc1
BuildRequires:  perl(ModPerl::MM)
e715cc1
BuildRequires:  perl(strict)
e715cc1
BuildRequires:  perl(vars)
e715cc1
# Run-time:
e715cc1
BuildRequires:  perl(Apache2::Connection)
e715cc1
BuildRequires:  perl(Apache2::Const)
e715cc1
BuildRequires:  perl(Apache2::RequestUtil)
e715cc1
BuildRequires:  perl(Apache2::ServerUtil)
e715cc1
BuildRequires:  perl(ModPerl::Util)
e715cc1
BuildRequires:  perl(warnings)
e715cc1
# Tests:
e715cc1
# All tests will be skipped if Apache::Test 1.34, etc. or Test::More is not
e715cc1
# availabe.
e715cc1
# Apache::Constants not used
e715cc1
BuildRequires:  perl(Apache::Test) >= 1.34
e715cc1
BuildRequires:  perl(Apache::TestMM)
e715cc1
BuildRequires:  perl(Apache::TestRunPerl)
e715cc1
BuildRequires:  perl(Apache::TestRequest)
e715cc1
BuildRequires:  perl(Apache::TestUtil)
e715cc1
BuildRequires:  perl(Apache2::RequestIO)
e715cc1
BuildRequires:  perl(Apache2::RequestRec)
e715cc1
BuildRequires:  perl(File::Spec::Functions)
e715cc1
BuildRequires:  perl(Test::More)
e715cc1
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
e715cc1
# The mod_perl2 1.99022 is not used, pick for example ModPerl::Util to
e715cc1
# constrain the version.
e715cc1
Requires:       perl(ModPerl::Util) >= 1.99022
e715cc1
Conflicts:      mod_perl < 2.0.10-4
e715cc1
e715cc1
# Fiter-underspecified dependencies
e715cc1
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(ModPerl::Util\\)$
e715cc1
e715cc1
%description
e715cc1
This mod_perl extension allows to reload Perl modules that changed on the disk.
e715cc1
e715cc1
%prep
e715cc1
%setup -q -n Apache-Reload-%{version}
e715cc1
e715cc1
%build
e715cc1
# MOD_PERL_2_BUILD=1 requires MP_APXS variable set to the apxs executable.
e715cc1
# Use MOD_PERL=2 argument instead.
e715cc1
unset MOD_PERL_2_BUILD
e715cc1
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 MOD_PERL=2
e715cc1
make %{?_smp_mflags}
e715cc1
e715cc1
%install
e715cc1
make pure_install DESTDIR=$RPM_BUILD_ROOT
e715cc1
%{_fixperms} $RPM_BUILD_ROOT/*
e715cc1
e715cc1
%check
e715cc1
make test
e715cc1
e715cc1
%files
e715cc1
%license LICENSE
e715cc1
# RELEASE is not for users
e715cc1
%doc Changes README
e715cc1
%{perl_vendorlib}/*
e715cc1
%{_mandir}/man3/*
e715cc1
e715cc1
%changelog
bf88cd4
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-13
bf88cd4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
bf88cd4
9e3f92d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-12
9e3f92d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9e3f92d
a4edacf
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-11
a4edacf
- Perl 5.30 rebuild
a4edacf
becb82d
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-10
becb82d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
becb82d
8570da3
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-9
8570da3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8570da3
3bdf891
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.13-8
3bdf891
- Perl 5.28 rebuild
3bdf891
9a257ce
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-7
9a257ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9a257ce
8a426be
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-6
8a426be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8a426be
e715cc1
* Fri Mar 24 2017 Petr Pisar <ppisar@redhat.com> 0.13-5
e715cc1
- This package replaces code bundled to mod_perl