Sync from SUSE:SLFO:Main perl-File-Find-Rule revision 3d4af5e949d7ed4f92bab8d93ff24035

This commit is contained in:
2025-06-21 02:05:40 +02:00
parent d5e324e0a2
commit 81d070dd3e
4 changed files with 36 additions and 19 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Jun 11 14:56:08 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.350.0 (0.35)
see /usr/share/doc/packages/perl-File-Find-Rule/Changes
0.35 Thursday 5th June, 2025
Fix for CVE-2011-10007 https://github.com/richardc/perl-file-find-rule/pull/4
bsc#1244148
-------------------------------------------------------------------
Sat May 24 16:27:42 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Thu Apr 21 09:50:03 UTC 2022 - Marcus Meissner <meissner@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-File-Find-Rule
#
# Copyright (c) 2022 SUSE LLC
# 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
@@ -16,24 +16,26 @@
#
Name: perl-File-Find-Rule
Version: 0.34
Release: 0
%define cpan_name File-Find-Rule
Name: perl-File-Find-Rule
Version: 0.350.0
Release: 0
# 0.35 -> normalize -> 0.350.0
%define cpan_version 0.35
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Alternative interface to File::Find
License: GPL-1.0-or-later OR Artistic-1.0
Group: Development/Libraries/Perl
URL: https://search.cpan.org/dist/File-Find-Rule/
Source0: https://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{cpan_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
BuildRequires: perl(Text::Glob) >= 0.70
Requires: perl(Number::Compare)
Requires: perl(Text::Glob) >= 0.07
Requires: perl(Text::Glob) >= 0.70
Provides: perl(File::Find::Rule) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
@@ -41,14 +43,14 @@ 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}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
%{__make} test
make test
%install
%perl_make_install
@@ -56,7 +58,6 @@ build rules which specify the desired files and directories.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes findrule
%changelog