3 Commits

3 changed files with 38 additions and 16 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-B-Utils/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-B-Utils)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 11 18:57:33 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 4 12:25:46 UTC 2024 - pgajdos@suse.com Mon Mar 4 12:25:46 UTC 2024 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-B-Utils # spec file for package perl-B-Utils
# #
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,43 +12,47 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-B-Utils
Version: 0.27
Release: 0
%define cpan_name B-Utils %define cpan_name B-Utils
Name: perl-B-Utils
Version: 0.270.0
Release: 0
# 0.27 -> normalize -> 0.270.0
%define cpan_version 0.27
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Helper functions for op tree manipulation Summary: Helper functions for op tree manipulation
License: Artistic-1.0 or GPL-1.0+ URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{cpan_version}.tar.gz
Url: http://search.cpan.org/dist/B-Utils/
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: perl-B-Utils-rpmlintrc Source1: perl-B-Utils-rpmlintrc
Source2: cpanspec.yml Source2: cpanspec.yml
Source100: README.md
Patch0: parent-impl.patch Patch0: parent-impl.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::CBuilder) BuildRequires: perl(ExtUtils::CBuilder)
BuildRequires: perl(ExtUtils::Depends) >= 0.301 BuildRequires: perl(ExtUtils::Depends) >= 0.301
BuildRequires: perl(Task::Weaken) BuildRequires: perl(Task::Weaken)
Requires: perl(Task::Weaken) Requires: perl(Task::Weaken)
Provides: perl(B::Utils) = %{version}
Provides: perl(B::Utils::OP) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
Helper functions for op tree manipulation Helper functions for op tree manipulation
%prep %prep
%autosetup -p1 -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@@ -56,7 +60,7 @@ Helper functions for op tree manipulation
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755) %doc Changes README
%doc Changes LICENSE README %license LICENSE
%changelog %changelog