Accepting request 347531 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/347531
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Find-Rule?expand=0&rev=15
This commit is contained in:
Stephan Kulow 2015-12-08 05:54:23 +00:00 committed by Git OBS Bridge
parent a0c8ac6eee
commit 0c3aacd98f
5 changed files with 62 additions and 34 deletions

View File

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

BIN
File-Find-Rule-0.34.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

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 +1,13 @@
-------------------------------------------------------------------
Sat Dec 5 10:06:05 UTC 2015 - coolo@suse.com
- updated to 0.34
see /usr/share/doc/packages/perl-File-Find-Rule/Changes
0.34 Thursday 4th December, 2015
Add canonpath option to normalize file-path
separators. Work by Mithun Ayachit.
-------------------------------------------------------------------
Wed Sep 21 01:33:36 UTC 2011 - vcizek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-File-Find-Rule
#
# Copyright (c) 2011 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
@ -16,52 +16,47 @@
#
Name: perl-File-Find-Rule
Version: 0.34
Release: 0
%define cpan_name File-Find-Rule
Name: perl-%cpan_name
Version: 0.33
Release: 3
License: GPL-1.0+ or Artistic
Summary: Alternative interface to File::Find
Url: http://search.cpan.org/dist/File-Find-Rule/
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Source: %cpan_name-%{version}.tar.gz
BuildRequires: perl-Number-Compare
BuildRequires: perl-Text-Glob
BuildRequires: perl-macros
Requires: perl-Number-Compare
Requires: perl-Text-Glob
Provides: %cpan_name
Url: http://search.cpan.org/dist/File-Find-Rule/
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
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Number::Compare)
BuildRequires: perl(Text::Glob) >= 0.07
Requires: perl(Number::Compare)
Requires: perl(Text::Glob) >= 0.07
%{perl_requires}
%description
File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories.
File::Find::Rule is a friendlier interface to File::Find. It allows you to
build rules which specify the desired files and directories.
%prep
%setup -q -n %cpan_name-%{version}
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
make
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
make DESTDIR=%{buildroot} install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
# clean up the hard disc after build
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/findrule*
%doc %{_mandir}/man?/*
%{perl_vendorlib}/File
%{perl_vendorarch}/auto/File
%doc Changes MANIFEST
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes findrule
%changelog