Compare commits

1 Commits
main ... 1.1

2 changed files with 20 additions and 36 deletions

View File

@@ -1,15 +1,3 @@
-------------------------------------------------------------------
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
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 14 12:24:17 UTC 2015 - coolo@suse.com Tue Apr 14 12:24:17 UTC 2015 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Bit-Vector # spec file for package perl-Bit-Vector
# #
# Copyright (c) 2025 SUSE LLC # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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,48 +12,44 @@
# 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 https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
%define cpan_name Bit-Vector
Name: perl-Bit-Vector Name: perl-Bit-Vector
Version: 7.400.0 Version: 7.4
Release: 0 Release: 0
# 7.4 -> normalize -> 7.400.0 #Upstream: CHECK(GPL-1.0+ or Artistic-1.0)
%define cpan_version 7.4 %define cpan_name Bit-Vector
#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 Summary: Bit::Vector Perl module
URL: https://metacpan.org/release/%{cpan_name} License: GPL-1.0+ or Artistic-1.0
Source0: https://cpan.metacpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{cpan_version}.tar.gz 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
Source1: cpanspec.yml Source1: cpanspec.yml
Patch0: Bit-Vector-7.1.diff Patch0: Bit-Vector-7.1.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Carp::Clan) >= 5.300 BuildRequires: perl(Carp::Clan) >= 5.3
BuildRequires: perl(Storable) >= 2.21 BuildRequires: perl(Storable) >= 2.21
Requires: perl(Carp::Clan) >= 5.300 Requires: perl(Carp::Clan) >= 5.3
Requires: perl(Storable) >= 2.21 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} %{perl_requires}
%description %description
Bit::Vector Perl module
%prep %prep
%autosetup -n %{cpan_name}-%{cpan_version} -N %setup -q -n %{cpan_name}-%{version}
%patch0
%patch -P0
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%make_build %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_install %perl_make_install
@@ -61,7 +57,7 @@ make test
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%doc CHANGES.txt CREDITS.txt examples GNU_GPL.txt GNU_LGPL.txt README.txt %defattr(-,root,root,755)
%license Artistic.txt %doc Artistic.txt CHANGES.txt CREDITS.txt examples GNU_GPL.txt GNU_LGPL.txt INSTALL.txt README.txt
%changelog %changelog