Accepting request 397447 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/397447 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Util?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
4704197ffc
commit
67db70f9df
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4233c493468da8b34f2df19b191aaa400f328d877c8c023605e43385976a99d1
|
||||
size 126689
|
3
File-Util-4.161200.tar.gz
Normal file
3
File-Util-4.161200.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c63be030c15303796d387b290f1f6b59451fb64827e39afeb0e1d0adad72ab8e
|
||||
size 129515
|
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,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 11:51:42 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 4.161200
|
||||
see /usr/share/doc/packages/perl-File-Util/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 4 09:38:36 UTC 2014 - stephan.barth@suse.com
|
||||
|
||||
|
@@ -1,8 +1,7 @@
|
||||
# vim: set sw=4 ts=4 et nu:
|
||||
#
|
||||
# spec file for package perl-File-Util
|
||||
#
|
||||
# Copyright (c) 2014 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
|
||||
@@ -18,56 +17,61 @@
|
||||
|
||||
|
||||
Name: perl-File-Util
|
||||
Version: 4.132140
|
||||
Version: 4.161200
|
||||
Release: 0
|
||||
%define cpan_name File-Util
|
||||
Summary: Easy, versatile, portable file handling
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Source: http://search.cpan.org/CPAN/authors/id/T/TO/TOMMY/File-Util-%{version}.tar.gz
|
||||
Url: http://search.cpan.org/dist/File-Util
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Class::OOorNO) >= 0.01
|
||||
BuildRequires: perl(Exception::Handler) >= 1
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::NoWarnings) >= 0.01
|
||||
Requires: perl(Class::OOorNO) >= 0.01
|
||||
Requires: perl(Exception::Handler) >= 1
|
||||
%if 0%{?suse_version} >= 1120
|
||||
Url: http://search.cpan.org/dist/File-Util/
|
||||
Source0: http://www.cpan.org/authors/id/T/TO/TOMMY/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build) >= 0.280000
|
||||
BuildRequires: perl(Test::NoWarnings)
|
||||
Recommends: perl(Unicode::UTF8) >= 0.58
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
File::Util provides a comprehensive toolbox of utilities to automate all kinds
|
||||
of common tasks on file / directories. Its purpose is to do so in the most
|
||||
portable manner possible so that users of this module won't have to worry about
|
||||
whether their programs will work on other OSes and machines.
|
||||
File::Util provides a comprehensive toolbox of utilities to automate all
|
||||
kinds of common tasks on files and directories. Its purpose is to do so in
|
||||
the most *portable* manner possible so that users of this module won't have
|
||||
to worry about whether their programs will work on other operating systems
|
||||
and/or architectures. It works on Linux, Windows, Mac, BSD, Unix and
|
||||
others.
|
||||
|
||||
File::Util is written *purely in Perl*, and requires no compiler or make
|
||||
utility on your system in order to install and run it. It loads a minimal
|
||||
amount of code when used, only pulling in support for lesser-used methods
|
||||
on demand. It has no dependencies other than what comes installed with Perl
|
||||
itself.
|
||||
|
||||
File::Util also aims to be as backward compatible as possible, running
|
||||
without problems on Perl installations as old as 5.006. You are encouraged
|
||||
to run File::Util on Perl version 5.8 and above.
|
||||
|
||||
After browsing this document, please have a look at the other
|
||||
documentation. _(See DOCUMENTATION section below.)_
|
||||
|
||||
%prep
|
||||
%setup -q -n "File-Util-%{version}"
|
||||
%__sed -i '/^auto_install/d' Makefile.PL
|
||||
find . -type f -exec %__chmod 0644 {} \;
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||||
%__make %{?jobs:-j%{jobs}}
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
./Build build flags=%{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%__make test
|
||||
./Build test
|
||||
|
||||
%clean
|
||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||||
%install
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/File
|
||||
%doc %{_mandir}/man3/File::Util*
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc AUTHORS Changes COPYING examples LICENSE NEWS performance README TODO
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user