Accepting request 486144 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/486144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Test-Without-Module?expand=0&rev=5
This commit is contained in:
Yuchen Lin 2017-04-11 10:43:58 +00:00 committed by Git OBS Bridge
commit 4128f26110
5 changed files with 43 additions and 8 deletions

View File

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

View File

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

28
cpanspec.yml Normal file
View File

@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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,9 @@
-------------------------------------------------------------------
Fri Mar 31 06:51:57 UTC 2017 - coolo@suse.com
- updated to 0.19
see /usr/share/doc/packages/perl-Test-Without-Module/Changes
-------------------------------------------------------------------
Tue Apr 14 19:28:49 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Test-Without-Module
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,14 +17,15 @@
Name: perl-Test-Without-Module
Version: 0.18
Version: 0.19
Release: 0
%define cpan_name Test-Without-Module
Summary: Test fallback behaviour in absence of modules
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Test-Without-Module/
Source: http://www.cpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -38,7 +39,7 @@ have a fallback when a certain dependency module is not installed.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -54,6 +55,6 @@ find . -type f -print0 | xargs -0 chmod 644
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes README
%doc Changes README README.mkdn
%changelog