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
This commit is contained in:
2020-11-06 20:08:25 +00:00
committed by Git OBS Bridge
parent c91c7fa2dc
commit 9707d19998
5 changed files with 96 additions and 54 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cb69ba41332a32c60de2a436dc54f9a5a880fe47c60d466772e46d32eeb03781
size 11233

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:52c576abbe716bfe475591534cbfd52c3bcbfcfd92d9d6105012cbad4b2c9852
size 13217

35
cpanspec.yml Normal file
View File

@@ -0,0 +1,35 @@
---
#description_paragraphs: 3
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
summary: Dist::Zilla Plugin That Configures Makefile.PL for Apache::Test
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,29 @@
-------------------------------------------------------------------
Wed Nov 4 17:16:38 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- 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.
-------------------------------------------------------------------
Fri Jan 21 15:20:51 UTC 2011 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Dist-Zilla-Plugin-ApacheTest
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@@ -12,82 +12,63 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Dist-Zilla-Plugin-ApacheTest
Version: 0.01
Release: 1
License: GPL+ or Artistic
Version: 0.04
Release: 0
%define cpan_name Dist-Zilla-Plugin-ApacheTest
Summary: build a Makefile.PL that uses ExtUtils::MakeMaker with Apache::Test
Url: http://search.cpan.org/dist/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
#Source: http://www.cpan.org/authors/id/M/MS/MSCHOUT/Dist-Zilla-Plugin-ApacheTest-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Dist::Zilla::File::InMemory)
BuildRequires: perl(Dist::Zilla::Role::BuildRunner)
BuildRequires: perl(Dist::Zilla::Role::InstallTool)
BuildRequires: perl(Dist::Zilla::Role::PrereqSource)
BuildRequires: perl(Dist::Zilla::Role::TestRunner)
BuildRequires: perl(Dist::Zilla::Role::TextTemplate)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Module::Signature)
BuildRequires: perl(Moose)
BuildRequires: perl(Moose::Autobox)
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(Socket)
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
Requires: perl(Data::Dumper)
Requires: perl(Dist::Zilla::File::InMemory)
Requires: perl(Dist::Zilla::Role::BuildRunner)
Requires: perl(Dist::Zilla::Role::InstallTool)
Requires: perl(Dist::Zilla::Role::PrereqSource)
Requires: perl(Dist::Zilla::Role::TestRunner)
Requires: perl(Dist::Zilla::Role::TextTemplate)
Requires: perl(List::MoreUtils)
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)
Requires: perl(Moose::Autobox)
Requires: perl(namespace::autoclean)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
This plugin will produce an the ExtUtils::MakeMaker manpage-powered
_Makefile.PL_ with Apache::Test hooks for the distribution. If loaded, the
Dist::Zilla::Plugin::Manifest plugin should also be loaded, and the
Dist::Zilla::Plugin::MakeMaker plugin should not be loaded.
* Dist::Zilla::Plugin::ApacheTest
DEPRECATED ApacheTest Compatibility Module.
At this time, this module is essentially a copy of the
Dist::Zilla::Plugin::MakeMaker plugin. Hopefully, over time, the
Dist::Zilla::Plugin::MakeMaker plugin will allow more customization so that
this module will not need to reimplement all of it.
* 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}
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
%{__make} test
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes dist.ini LICENSE README
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
%changelog