Accepting request 337581 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/337581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-namespace-clean?expand=0&rev=28
This commit is contained in:
Dirk Stoecker 2015-10-10 11:16:47 +00:00 committed by Git OBS Bridge
parent b9cf2717db
commit 179a68e445
5 changed files with 36 additions and 15 deletions

23
cpanspec.yml Normal file
View File

@ -0,0 +1,23 @@
---
#description_paragraphs: 3
#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_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 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:946a2b7b8219562818867ad915cd493637e2639f901db050b835500c8e6ecd04
size 12816

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 10 09:37:59 UTC 2015 - coolo@suse.com
- updated to 0.26
see /usr/share/doc/packages/perl-namespace-clean/Changes
-------------------------------------------------------------------
Sat Mar 15 13:00:41 UTC 2014 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-namespace-clean
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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-namespace-clean
Version: 0.25
Version: 0.26
Release: 0
%define cpan_name namespace-clean
Summary: Keep imports and functions out of your namespace
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/namespace-clean/
Source: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/R/RI/RIBASUSHI/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@ -42,15 +43,6 @@ Keep imports and functions out of your namespace
%prep
%setup -q -n %{cpan_name}-%{version}
# MANUAL BEGIN
%if 0%{?suse_version} <= 1110
for i in `find t -type f` ; do
sed -i -e "s@^\s*use\s\s*Test::More@use lib '%{perl_vendorlib}';\nuse Test::More@" $i
done
# fail due to missing Sub/Name.pm
rm -f t/07-debugger.t
rm -f t/10-pure-perl.t
%endif
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor