forked from pool/perl-namespace-clean
Accepting request 337599 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/337599 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-namespace-clean?expand=0&rev=15
This commit is contained in:
commit
1bd91812b3
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal 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
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:946a2b7b8219562818867ad915cd493637e2639f901db050b835500c8e6ecd04
|
|
||||||
size 12816
|
|
3
namespace-clean-0.26.tar.gz
Normal file
3
namespace-clean-0.26.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:73986e19c4ad0e634e35f4f26e81437f152d8026eb1d91fe795725746ce13eca
|
||||||
|
size 15414
|
@ -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
|
Sat Mar 15 13:00:41 UTC 2014 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-namespace-clean
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,14 +17,15 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-namespace-clean
|
Name: perl-namespace-clean
|
||||||
Version: 0.25
|
Version: 0.26
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name namespace-clean
|
%define cpan_name namespace-clean
|
||||||
Summary: Keep imports and functions out of your namespace
|
Summary: Keep imports and functions out of your namespace
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/namespace-clean/
|
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
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
@ -42,15 +43,6 @@ Keep imports and functions out of your namespace
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%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
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
|
Loading…
Reference in New Issue
Block a user