Compare commits

...

10 Commits

Author SHA256 Message Date
0211ff00e2 Accepting request 1278629 from devel:languages:perl:autoupdate
- updated to 1.08
   see /usr/share/doc/packages/perl-File-Fetch/CHANGES
  1.08        
  * Switched from httpbin.org to httpbingo.org
  1.06        
  * httpbin.org is being a bit unreliable at the moment
    and highlighted that lftp is like the little engine
    that could and it will keep trying and trying. Added
    restrictions to how many times it will retry.

OBS-URL: https://build.opensuse.org/request/show/1278629
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=18
2025-05-24 14:53:57 +00:00
eea4e083dd Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=17
2024-07-21 20:13:38 +00:00
025bb79928 Accepting request 949195 from devel:languages:perl:autoupdate
- updated to 1.04
   see /usr/share/doc/packages/perl-File-Fetch/CHANGES
  1.04        
  * Resolve test warnings reported in GitHub issue #22
    relating to Github's deprecation and removal of git:// protocol
  * Pointed various RFC links in docs to ietf.org

OBS-URL: https://build.opensuse.org/request/show/949195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=16
2022-01-28 10:03:25 +00:00
30c5ea0d43 Accepting request 946046 from devel:languages:perl:autoupdate
- updated to 1.02
   see /usr/share/doc/packages/perl-File-Fetch/CHANGES
  1.02        
  * wget: use --passive-ftp switch only for ftp scheme

OBS-URL: https://build.opensuse.org/request/show/946046
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=15
2022-01-17 13:49:49 +00:00
4e97a24a45 Accepting request 848085 from devel:languages:perl:autoupdate
- updated to 1.00
   see /usr/share/doc/packages/perl-File-Fetch/CHANGES
  1.00        
  * Fixed the mitigations for CVE-2016-1238
  * Mentioned https support in CHANGES file

OBS-URL: https://build.opensuse.org/request/show/848085
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=14
2020-11-12 10:13:01 +00:00
1209c44b23 Accepting request 546897 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/546897
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=13
2017-12-06 14:38:38 +00:00
Stephan Kulow
bf3c1814eb Accepting request 528555 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/528555
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=12
2017-09-30 07:07:06 +00:00
Stephan Kulow
bf5835e262 Accepting request 433919 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/433919
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=11
2016-10-08 16:23:00 +00:00
Stephan Kulow
99b2b9058d Accepting request 296548 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/296548
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=10
2015-04-15 07:16:42 +00:00
Stephan Kulow
1ce7929e69 - update to 0.32
* Added support for HTTP::Tiny
  * Apply blead patches from Peter Acklam
  * Added support for FreeBSDs 'fetch' command for
    both http and ftp schemes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Fetch?expand=0&rev=7
2012-02-15 20:55:39 +00:00
6 changed files with 174 additions and 50 deletions

View File

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

View File

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

3
File-Fetch-1.08.tar.gz Normal file
View File

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

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,103 @@
-------------------------------------------------------------------
Tue Apr 29 05:34:28 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 1.08
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
1.08 Mon Apr 28 17:06:58 2025
* Switched from httpbin.org to httpbingo.org
1.06 Mon Apr 28 16:49:13 2025
* httpbin.org is being a bit unreliable at the moment
and highlighted that lftp is like the little engine
that could and it will keep trying and trying. Added
restrictions to how many times it will retry.
-------------------------------------------------------------------
Wed Jan 19 03:06:10 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.04
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
1.04 Tue Jan 18 20:46:04 2022
* Resolve test warnings reported in GitHub issue #22
relating to Github's deprecation and removal of git:// protocol
* Pointed various RFC links in docs to ietf.org
-------------------------------------------------------------------
Sat Jan 8 03:07:05 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 1.02
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
1.02 Fri Jan 7 14:44:34 2022
* wget: use --passive-ftp switch only for ftp scheme
-------------------------------------------------------------------
Thu Nov 12 03:08:31 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 1.00
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
1.00 Wed Nov 11 12:49:58 2020
* Fixed the mitigations for CVE-2016-1238
* Mentioned https support in CHANGES file
-------------------------------------------------------------------
Fri Dec 1 06:21:03 UTC 2017 - coolo@suse.com
- updated to 0.56
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
0.56 Thu Nov 30 14:47:50 2017
* Blacklist 'lftp' use on hpux
-------------------------------------------------------------------
Mon Sep 25 05:25:03 UTC 2017 - coolo@suse.com
- updated to 0.54
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
0.54 Sun Sep 24 19:46:04 2017
* Switch test URL from www.cpan.org to httpbin.org
-------------------------------------------------------------------
Sat Oct 8 15:58:00 UTC 2016 - coolo@suse.com
- updated to 0.52
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
0.52 Fri Aug 12 11:15:46 2016
* Set a cleaned env when running git clone
* Changed git repository link in tests
* Removed consistently failing httpbin.org tests
0.50 Mon Aug 8 12:49:13 2016
* Require Module::Load::Conditional 0.66
* Fix FTP tests for ipv6
-------------------------------------------------------------------
Tue Apr 14 21:16:45 UTC 2015 - coolo@suse.com
- updated to 0.48
see /usr/share/doc/packages/perl-File-Fetch/CHANGES
-------------------------------------------------------------------
Wed Feb 15 20:55:08 UTC 2012 - coolo@suse.com
- update to 0.32
* Added support for HTTP::Tiny
* Apply blead patches from Peter Acklam
* Added support for FreeBSDs 'fetch' command for
both http and ftp schemes.
-------------------------------------------------------------------
Tue Nov 30 19:20:14 UTC 2010 - coolo@novell.com

View File

@@ -1,68 +1,67 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
#
# spec file for package perl-File-Fetch
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name File-Fetch
Name: perl-File-Fetch
Version: 0.26
Version: 1.08
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Generic file fetching code
Source: http://search.cpan.org/CPAN/authors/id/B/BI/BINGOS/File-Fetch-%{version}.tar.gz
URL: http://search.cpan.org/dist/File-Fetch
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
%{perl_requires}
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/B/BI/BINGOS/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy)
BuildRequires: perl(Locale::Maketext::Simple)
BuildRequires: perl(File::Spec) >= 0.82
BuildRequires: perl(IPC::Cmd) >= 0.42
BuildRequires: perl(Locale::Maketext::Simple)
BuildRequires: perl(Module::Load::Conditional) >= 0.66
BuildRequires: perl(Params::Check) >= 0.07
BuildRequires: perl(Test::More)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Basename)
BuildRequires: perl(Module::Load::Conditional) >= 0.04
Requires: perl(File::Copy)
Requires: perl(Locale::Maketext::Simple)
Requires: perl(File::Spec) >= 0.82
Requires: perl(IPC::Cmd) >= 0.42
Requires: perl(Locale::Maketext::Simple)
Requires: perl(Module::Load::Conditional) >= 0.66
Requires: perl(Params::Check) >= 0.07
Requires: perl(File::Path)
Requires: perl(File::Basename)
Requires: perl(Module::Load::Conditional) >= 0.04
%{perl_requires}
%description
File::Fetch is a generic file fetching mechanism.
It allows you to fetch any file pointed to by a "ftp", "http", "file", or
"rsync" uri by a number of different means.
It allows you to fetch any file pointed to by a 'ftp', 'http', 'file',
'git' or 'rsync' uri by a number of different means.
See the 'HOW IT WORKS' section further down for details.
%prep
%setup -q -n "File-Fetch-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%autosetup -n %{cpan_name}-%{version} -p1
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
# don't run tests, need an internet connection
#%check
#%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%files -f %{name}.files
%doc CHANGES README
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/Fetch.pm
%dir %{perl_vendorarch}/auto/File
%{perl_vendorarch}/auto/File/Fetch
%doc %{perl_man3dir}/File::Fetch.%{perl_man3ext}%{ext_man}
%changelog