Sync from SUSE:SLFO:Main perl-Bit-Vector revision c3a14aa85e0564c09d39eb497b91a8c5
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 22:16:07 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:22:18 UTC 2024 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Bit-Vector
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -12,43 +12,48 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# 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-Bit-Vector
|
||||
Version: 7.4
|
||||
Release: 0
|
||||
#Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
|
||||
%define cpan_name Bit-Vector
|
||||
Name: perl-Bit-Vector
|
||||
Version: 7.400.0
|
||||
Release: 0
|
||||
# 7.4 -> normalize -> 7.400.0
|
||||
%define cpan_version 7.4
|
||||
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Summary: Bit::Vector Perl module
|
||||
License: GPL-1.0+ or Artistic-1.0
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Bit-Vector/
|
||||
Source0: http://www.cpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: Bit-Vector-7.1.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Carp::Clan) >= 5.3
|
||||
BuildRequires: perl(Carp::Clan) >= 5.300
|
||||
BuildRequires: perl(Storable) >= 2.21
|
||||
Requires: perl(Carp::Clan) >= 5.3
|
||||
Requires: perl(Carp::Clan) >= 5.300
|
||||
Requires: perl(Storable) >= 2.21
|
||||
Provides: perl(Bit::Vector) = %{version}
|
||||
Provides: perl(Bit::Vector::Overload) = %{version}
|
||||
Provides: perl(Bit::Vector::String) = %{version}
|
||||
%undefine __perllib_provides
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Bit::Vector Perl module
|
||||
|
||||
%prep
|
||||
%autosetup -p0 -n %{cpan_name}-%{version}
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -N
|
||||
|
||||
%patch -P0
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
@@ -56,7 +61,7 @@ Bit::Vector Perl module
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Artistic.txt CHANGES.txt CREDITS.txt examples GNU_GPL.txt GNU_LGPL.txt INSTALL.txt README.txt
|
||||
%doc CHANGES.txt CREDITS.txt examples GNU_GPL.txt GNU_LGPL.txt README.txt
|
||||
%license Artistic.txt
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user