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:
commit
44608ed4ed
@ -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
3
Text-Glob-0.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d0af0549a9dd1c70edcd3b1429ccc3702b79b873375b79cd2bdfe8870e337449
|
||||
size 5348
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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
|
@ -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
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# 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
|
||||
|
||||
Name: perl-%cpan_name
|
||||
Version: 0.09
|
||||
Release: 1
|
||||
Provides: %cpan_name
|
||||
Summary: Match Globbing Patterns Against Text
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic-1.0
|
||||
Url: http://search.cpan.org/dist/Text-Glob/
|
||||
Summary: Tools for working with paths and file specs across platforms
|
||||
Source: %cpan_name-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%{perl_requires}
|
||||
|
||||
%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
|
||||
%setup -q -n %cpan_name-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
# clean up the hard disc after build
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/Text
|
||||
%{perl_vendorarch}/auto/Text
|
||||
%doc Changes MANIFEST
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user