Accepting request 354825 from home:bmwiedemann:branches:devel:languages:perl

- add cpanspec yaml
- fix license

- update to 1.39

- Require netcfg to make tests pass

this drops some old requires that are part of perl-base or perl

OBS-URL: https://build.opensuse.org/request/show/354825
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Apache-Test?expand=0&rev=5
This commit is contained in:
2016-01-21 11:07:07 +00:00
committed by Git OBS Bridge
parent 5bbf0bb047
commit c28c8e004f
5 changed files with 48 additions and 20 deletions

View File

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

3
Apache-Test-1.39.tar.gz Normal file
View File

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

16
cpanspec.yml Normal file
View File

@@ -0,0 +1,16 @@
---
#description_paragraphs: 1
#no_testing: broken upstream
#sources:
# - source1
# - source2
patches:
fix-provides.diff: -p1
preamble: |-
BuildRequires: netcfg
Requires: netcfg
#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
license: Apache-2.0
#skip_noarch: 1

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Jan 19 17:47:21 UTC 2016 - bwiedemann@suse.com
- add cpanspec yaml
-------------------------------------------------------------------
Sun Jan 17 11:42:56 UTC 2016 - bwiedemann@suse.com
- update to 1.39
-------------------------------------------------------------------
Fri Jan 15 14:23:38 UTC 2016 - bwiedemann@suse.com
- Require netcfg to make tests pass
-------------------------------------------------------------------
Thu Apr 14 07:43:06 UTC 2011 - coolo@opensuse.org

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Apache-Test (Version 1.36)
# spec file for package perl-Apache-Test
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,27 +15,28 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Apache-Test
Version: 1.36
Release: 1
License: CHECK(GPL+ or Artistic)
Version: 1.39
Release: 0
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
%define cpan_name Apache-Test
Summary: Test.pm wrapper with helpers for testing Apache
Url: http://search.cpan.org/dist/Apache-Test/
License: Apache-2.0
Group: Development/Libraries/Perl
Source: http://www.cpan.org/authors/id/P/PH/PHRED/%{cpan_name}-%{version}.tar.gz
# MANAUAL
Url: http://search.cpan.org/dist/Apache-Test/
Source0: http://www.cpan.org/authors/id/S/SH/SHAY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: fix-provides.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Cwd) >= 2.06
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec) >= 0.8
Requires: perl(Cwd) >= 2.06
Requires: perl(File::Spec) >= 0.8
%{perl_requires}
# MANUAL BEGIN
BuildRequires: netcfg
Requires: netcfg
# MANUAL END
%description
*Apache::Test* is a wrapper around the standard 'Test.pm' with helpers for
@@ -43,7 +44,6 @@ testing an Apache server.
%prep
%setup -q -n %{cpan_name}-%{version}
# MANUAL
%patch0 -p1
%build
@@ -58,9 +58,6 @@ testing an Apache server.
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTORS LICENSE README SUPPORT ToDo