Compare commits

...

10 Commits

Author SHA256 Message Date
eb9fb43b58 Accepting request 1235336 from devel:languages:perl:autoupdate
- updated to 4.0.4 (v4.0.4)
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
  -   4.0.4 
      Saner way to add sub-paths; not visible.
  -   4.0.3 
      Add missing '' to catpath.
      Move canonpath into rel2abs, saves re-running it for each
      directory up the tree.
  -   4.0.2 
      Avoid undef value in m// with defined check.
  -   4.0.1 
      Fixes to setup-dist shell script for creating the placeholder
      FindBin/libs.pm file with the correct version.
  -   4.0.0 
      Remove all use of abs_path, including FindBin; this will
      now handle symlinks properly using rel2abs.
      Replace FindBin with FindBin::Bin & FindBin::Parents
      modeled after their Raku counterparts.
      Update the test numbers a bit to test the separte modules
      with 0*.t; push tests and MANIFEST into the version dir's.
      Update the dist prepare script to extrac its package
      line from the installed lib/FindBin/libs.pm so that the
      Makefile.PL can use VERSION_FROM again.

OBS-URL: https://build.opensuse.org/request/show/1235336
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=11
2025-01-09 16:26:17 +00:00
cd323960a5 Accepting request 1066026 from devel:languages:perl:autoupdate
- updated to 3.0.2
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
  -   3.0.2 
      Bin=X uses dirname( X ) if X is a file, otherwise if X is
      a dir it uses X, otherwise it dies. This mainly simplifies
      testing where libs or config dirs are below the ./t in the
      path.
- updated to 3.0.1
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
  -   3.0.1 
      Remove extraneous breakpoints
  -   3.0.0 
      Rewerite the search to use a saner, multi-stage
      process. Still uses abs_path to avoid duplicates
      working up the stack due to multi-level symlinks,
      skips things earlier in the process & is a bit
      easier to read.
      noignore is handled properly, as is ignore=
      taint extraction on $Bin uses m{^ (.+) /? }x
      to strip the trailing '/' in some RHEL versions
      of catpath.
- updated to 2.21.0
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
- Fix File::Copy::Recursive::Reduced dependency
- updated to 2.200
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
- updated to 2.1502
   see /usr/share/doc/packages/perl-FindBin-libs/Changes
  2.15.02 
  
  use explicit LICENSE key in Extutils metadata.
  
  2.15.01 
  
  Add 'same terms as perl 5.24 or any later version' license.
- updated to 2.15
   see /usr/share/doc/packages/perl-FindBin-libs/Changes
  2.15    
- updated to 2.12
   see /usr/share/doc/packages/perl-FindBin-libs/Changes
- switch to perl_requires macro
- remove /var/adm/perl-modules
- initial package (1.5)

OBS-URL: https://build.opensuse.org/request/show/1066026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=10
2023-02-20 10:08:39 +00:00
58abd03e41 Accepting request 958012 from devel:languages:perl:autoupdate
- updated to 3.0.1
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
  -   3.0.1 
      Remove extraneous breakpoints
  -   3.0.0 
      Rewerite the search to use a saner, multi-stage
      process. Still uses abs_path to avoid duplicates
      working up the stack due to multi-level symlinks,
      skips things earlier in the process & is a bit
      easier to read.
      noignore is handled properly, as is ignore=
      taint extraction on $Bin uses m{^ (.+) /? }x
      to strip the trailing '/' in some RHEL versions
      of catpath.

OBS-URL: https://build.opensuse.org/request/show/958012
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=9
2022-03-01 13:50:14 +00:00
5b961eb33d Accepting request 886034 from devel:languages:perl:autoupdate
- updated to 2.21.0
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
- Fix File::Copy::Recursive::Reduced dependency
- updated to 2.200
   see /usr/share/doc/packages/perl-FindBin-libs/CHANGES

OBS-URL: https://build.opensuse.org/request/show/886034
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=8
2021-04-22 15:37:40 +00:00
Stephan Kulow
31ffccf2b1 Accepting request 573752 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/573752
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=7
2018-02-07 15:54:04 +00:00
Stephan Kulow
41d91b0089 Accepting request 328915 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/328915
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=6
2015-09-04 18:37:23 +00:00
Stephan Kulow
a6fdbc1f0c Accepting request 297851 from devel:languages:perl:autoupdate
update

OBS-URL: https://build.opensuse.org/request/show/297851
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=5
2015-04-17 18:56:14 +00:00
Stephan Kulow
2298cfe11a always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=4
2010-12-03 14:05:47 +00:00
Stephan Kulow
f3e55f0643 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=3
2010-12-01 13:45:09 +00:00
Stephan Kulow
1614ee02f4 - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-FindBin-libs?expand=0&rev=2
2010-11-29 18:55:14 +00:00
5 changed files with 194 additions and 52 deletions

View File

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

View File

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

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:
# Upstream specifies >= 0.006000 which is unsatisfiable for rpm
preamble: |-
BuildRequires: perl(File::Copy::Recursive::Reduced) >= 0.006
Requires: perl(File::Copy::Recursive::Reduced) >= 0.002
ignore_requires: File::Copy::Recursive::Reduced
#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: Artistic-1.0 OR GPL-1.0-or-later
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,5 +1,119 @@
-------------------------------------------------------------------
Thu Dec 12 16:21:37 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 4.0.4 (v4.0.4)
see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
- 4.0.4 Fri Oct 25 22:48:57 EDT 2024
Saner way to add sub-paths; not visible.
- 4.0.3 Fri Oct 25 22:48:57 EDT 2024
Add missing '' to catpath.
Move canonpath into rel2abs, saves re-running it for each
directory up the tree.
- 4.0.2 Fri Oct 25 00:33:15 EDT 2024
Avoid undef value in m// with defined check.
- 4.0.1 Wed Oct 23 23:03:01 EDT 2024
Fixes to setup-dist shell script for creating the placeholder
FindBin/libs.pm file with the correct version.
- 4.0.0 Wed Oct 23 00:59:04 EDT 2024
Remove all use of abs_path, including FindBin; this will
now handle symlinks properly using rel2abs.
Replace FindBin with FindBin::Bin & FindBin::Parents
modeled after their Raku counterparts.
Update the test numbers a bit to test the separte modules
with 0*.t; push tests and MANIFEST into the version dir's.
Update the dist prepare script to extrac its package
line from the installed lib/FindBin/libs.pm so that the
Makefile.PL can use VERSION_FROM again.
-------------------------------------------------------------------
Wed Feb 15 17:33:54 UTC 2023 - Dirk Stoecker <opensuse@dstoecker.de>
- updated to 3.0.2
see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
- 3.0.2 Fri Sep 16 07:45:00 PM EDT 2022
Bin=X uses dirname( X ) if X is a file, otherwise if X is
a dir it uses X, otherwise it dies. This mainly simplifies
testing where libs or config dirs are below the ./t in the
path.
-------------------------------------------------------------------
Sat Feb 26 03:07:34 UTC 2022 - Tina Müller <timueller+perl@suse.de>
- updated to 3.0.1
see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
- 3.0.1 Thu Feb 24 04:39:00 PM EST 2022
Remove extraneous breakpoints
- 3.0.0 Thu Feb 24 04:39:00 PM EST 2022
Rewerite the search to use a saner, multi-stage
process. Still uses abs_path to avoid duplicates
working up the stack due to multi-level symlinks,
skips things earlier in the process & is a bit
easier to read.
noignore is handled properly, as is ignore=
taint extraction on $Bin uses m{^ (.+) /? }x
to strip the trailing '/' in some RHEL versions
of catpath.
-------------------------------------------------------------------
Fri Apr 16 13:47:59 UTC 2021 - Tina Müller <tina.mueller@suse.com>
- updated to 2.21.0
see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
-------------------------------------------------------------------
Fri Apr 16 13:39:55 UTC 2021 - Tina Müller <tina.mueller@suse.com>
- Fix File::Copy::Recursive::Reduced dependency
-------------------------------------------------------------------
Wed Dec 16 03:09:36 UTC 2020 - Tina Müller <timueller+perl@suse.de>
- updated to 2.200
see /usr/share/doc/packages/perl-FindBin-libs/CHANGES
-------------------------------------------------------------------
Wed Feb 7 15:32:56 UTC 2018 - coolo@suse.com
- updated to 2.1502
see /usr/share/doc/packages/perl-FindBin-libs/Changes
2.15.02 Tue Jan 30 12:18:00 CST 2018
use explicit LICENSE key in Extutils metadata.
2.15.01 Fri Jan 26 10:10:37 CST 2018
Add 'same terms as perl 5.24 or any later version' license.
-------------------------------------------------------------------
Fri Sep 4 09:22:06 UTC 2015 - coolo@suse.com
- updated to 2.15
see /usr/share/doc/packages/perl-FindBin-libs/Changes
2.15 Tue Sep 1 14:33:49 CDT 2015
-------------------------------------------------------------------
Fri Apr 17 18:00:03 UTC 2015 - coolo@suse.com
- updated to 2.12
see /usr/share/doc/packages/perl-FindBin-libs/Changes
-------------------------------------------------------------------
Wed Dec 1 13:32:29 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:00 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Thu Sep 2 22:44:29 UTC 2010 - pascal.bleser@opensuse.org
- initial package (1.5)

View File

@@ -1,64 +1,69 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
#
# spec file for package perl-FindBin-libs
#
# Copyright (c) 2024 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 FindBin-libs
Name: perl-FindBin-libs
Version: 1.5
Version: 4.0.4
Release: 0
Summary: Locate and 'use lib' directories along
Source: http://search.cpan.org/CPAN/authors/id/L/LE/LEMBARK/FindBin-libs-%{version}.tar.gz
URL: http://search.cpan.org/dist/FindBin-libs
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Requires: perl = %{perl_version}
# v4.0.4 -> normalize -> 4.0.4
%define cpan_version v4.0.4
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: FindBin::libs Perl module
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/L/LE/LEMBARK/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(warnings)
BuildRequires: perl(strict)
BuildRequires: perl(FindBin)
BuildRequires: perl(File::Spec)
BuildRequires: perl(Symbol)
BuildRequires: perl(Cwd)
BuildRequires: perl(Carp)
Requires: perl(warnings)
Requires: perl(strict)
Requires: perl(FindBin)
Requires: perl(File::Spec)
Requires: perl(Symbol)
Requires: perl(Cwd)
Requires: perl(Carp)
BuildRequires: perl-macros
BuildRequires: perl(Data::Dump)
#BuildRequires: perl(File::Copy::Recursive::Reduced) >= 0.006000
BuildRequires: perl(version)
Requires: perl(Data::Dump)
#Requires: perl(File::Copy::Recursive::Reduced) >= 0.002000
Requires: perl(version)
%{perl_requires}
# MANUAL BEGIN
BuildRequires: perl(File::Copy::Recursive::Reduced) >= 0.006
Requires: perl(File::Copy::Recursive::Reduced) >= 0.002
# MANUAL END
%description
This module will locate directories along the path to $FindBin::Bin and
"use lib" or export an array of the directories found. The default is to
locate "lib" directories and "use lib" them without printing the list.
%prep
%setup -q -n "FindBin-libs-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
rm -f pm_to_blib
%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
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc CHANGES README
%dir %{perl_vendorlib}/FindBin
%{perl_vendorlib}/FindBin/libs.pm
%dir %{perl_vendorarch}/auto/FindBin
%{perl_vendorarch}/auto/FindBin/libs
%doc %{perl_man3dir}/FindBin::libs.%{perl_man3ext}%{ext_man}
/var/adm/perl-modules/%{name}
%files -f %{name}.files
%doc CHANGES example README setup-dist
%changelog