Files
perl-Dist-Zilla-Plugin-Apac…/perl-Dist-Zilla-Plugin-ApacheTest.spec
Dirk Stoecker 9707d19998 Accepting request 846053 from devel:languages:perl:autoupdate
- updated to 0.04
   see /usr/share/doc/packages/perl-Dist-Zilla-Plugin-ApacheTest/Changes
  0.04  2017-08-02
      - include META.json in the dist
      - include minimum perl version in META.*
  
  0.03  2016-07-03
      - add Plugin::ApacheTest for compatibility with previous releases. This is
        marked deprecated in docs and is equivalent to [MakeMaker::ApacheTest]
        currently.
      - update compile tests
      - fix possible signature test if generated files are not ignored
  
  0.02  2016-07-01
    *** INCOMPATIBLE CHANGE - This module now is a plugin bundle which includes a
        MakeMaker plugin as well as a DynamicPrereq plugin.  Your dist.ini needs to
        change from [ApacheTest] to [@ApacheTest]
      - Reimplement using Dist::Zilla::Plugin::MakeMaker::Awesome. This avoids
        replacing the MakeMaker plugin and greatly simplifies things.
      - use Dist::Zilla::Plugin::DynamicPrereqs to require either mod_perl v1 if
        it is installed, otherwise mod_perl2.

OBS-URL: https://build.opensuse.org/request/show/846053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Dist-Zilla-Plugin-ApacheTest?expand=0&rev=5
2020-11-06 20:08:25 +00:00

75 lines
2.5 KiB
RPMSpec

#
# spec file for package perl-Dist-Zilla-Plugin-ApacheTest
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Dist-Zilla-Plugin-ApacheTest
Version: 0.04
Release: 0
%define cpan_name Dist-Zilla-Plugin-ApacheTest
Summary: Dist::Zilla Plugin That Configures Makefile.PL for Apache::Test
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/MS/MSCHOUT/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Dist::Zilla::Plugin::DynamicPrereqs)
BuildRequires: perl(Dist::Zilla::Plugin::MakeMaker::Awesome)
BuildRequires: perl(Dist::Zilla::Role::PluginBundle::Easy)
BuildRequires: perl(Moose)
Requires: perl(Dist::Zilla::Plugin::DynamicPrereqs)
Requires: perl(Dist::Zilla::Plugin::MakeMaker::Awesome)
Requires: perl(Dist::Zilla::Role::PluginBundle::Easy)
Requires: perl(Moose)
%{perl_requires}
%description
* Dist::Zilla::Plugin::ApacheTest
DEPRECATED ApacheTest Compatibility Module.
* Dist::Zilla::Plugin::MakeMaker::ApacheTest
Dist::Zilla Plugin That Configures Makefile.PL for Apache::Test
* Dist::Zilla::PluginBundle::ApacheTest
Dist::Zilla Plugin Bundle That Configures Makefile.PL for Apache::Test
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
%changelog