Accepting request 428426 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/428426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-Glob?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2016-10-01 21:43:44 +00:00 committed by Git OBS Bridge
commit 44608ed4ed
5 changed files with 63 additions and 29 deletions

View File

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

3
Text-Glob-0.10.tar.gz Normal file
View File

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

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,13 @@
-------------------------------------------------------------------
Thu Sep 15 06:28:20 UTC 2016 - coolo@suse.com
- updated to 0.10
see /usr/share/doc/packages/perl-Text-Glob/Changes
0.10 Wednesday 14th September, 2016
Added ability to alter regex seperator (patch from Mark Fowler)
Switch distribution packaging back to ExtUtils::MakeMaker (RT#104876)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 18 11:10:11 UTC 2011 - coolo@suse.com Fri Nov 18 11:10:11 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Glob # spec file for package perl-Text-Glob
# #
# Copyright (c) 2011 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 # 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
@ -16,48 +16,44 @@
# #
Name: perl-Text-Glob
Version: 0.10
Release: 0
%define cpan_name Text-Glob %define cpan_name Text-Glob
Summary: Match Globbing Patterns Against Text
Name: perl-%cpan_name License: Artistic-1.0 or GPL-1.0+
Version: 0.09
Release: 1
Provides: %cpan_name
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
License: Artistic-1.0
Url: http://search.cpan.org/dist/Text-Glob/ Url: http://search.cpan.org/dist/Text-Glob/
Summary: Tools for working with paths and file specs across platforms Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
Source: %cpan_name-%{version}.tar.gz Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%{perl_requires}
%description %description
Text::Glob implements glob(3) style matching that can be used to match against text, rather than fetching names from a filesystem. If you want to do full file globbing use the File::Glob module instead. Text::Glob implements glob(3) style matching that can be used to match
against text, rather than fetching names from a filesystem. If you want to
do full file globbing use the File::Glob module instead.
%prep %prep
%setup -q -n %cpan_name-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
make DESTDIR=$RPM_BUILD_ROOT install_vendor %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %files -f %{name}.files
# clean up the hard disc after build %defattr(-,root,root,755)
rm -rf $RPM_BUILD_ROOT %doc Changes
%files
%defattr(-,root,root)
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Text
%{perl_vendorarch}/auto/Text
%doc Changes MANIFEST
%changelog %changelog