8
0

Compare commits

...

15 Commits

Author SHA256 Message Date
9146e25e78 Accepting request 1280895 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1280895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=27
2025-05-30 12:22:07 +00:00
22950004bc Accepting request 1280870 from home:pgajdos
- added patches [bsc#1241940]:
  fix build with gcc15, sent to STBEY@cpan.org
  * perl-Bit-Vector-gcc15.patch

OBS-URL: https://build.opensuse.org/request/show/1280870
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Bit-Vector?expand=0&rev=28
2025-05-28 13:23:12 +00:00
1a2c40d9ba Accepting request 1244024 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1244024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=26
2025-02-09 19:00:35 +00:00
520faee401 - Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Bit-Vector?expand=0&rev=26
2025-02-06 22:16:29 +00:00
6656331f3b Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Bit-Vector?expand=0&rev=25
2025-02-04 18:42:48 +00:00
15d1809349 Accepting request 1155461 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1155461
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=25
2024-03-07 17:27:45 +00:00
Stephan Kulow
1d08c3b102 Accepting request 296982 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/296982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=24
2015-04-25 19:15:37 +00:00
Stephan Kulow
075a8a3264 Accepting request 177473 from devel:languages:perl
- updated to 7.3
 *  Fixed t/02_____destroy.t to make it pass on perl-5.17.11 (forwarded request 177444 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=21
2013-06-06 11:06:19 +00:00
Stephan Kulow
3862c8e852 Accepting request 121938 from devel:languages:perl
- update to 7.2
 * change boolean type

OBS-URL: https://build.opensuse.org/request/show/121938
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=18
2012-05-26 10:59:43 +00:00
Stephan Kulow
2ee7f5b9e3 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=17
2011-12-06 17:37:46 +00:00
Stephan Kulow
70fa6e29e3 Accepting request 91948 from devel:languages:perl
- use original tar

OBS-URL: https://build.opensuse.org/request/show/91948
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=16
2011-11-18 14:46:20 +00:00
Lars Vogdt
773701acf7 Autobuild autoformatter for 54469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=13
2010-12-05 20:37:11 +00:00
Lars Vogdt
6c093330d7 Accepting request 54469 from devel:languages:perl
Accepted submit request 54469 from user coolo

OBS-URL: https://build.opensuse.org/request/show/54469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=12
2010-12-05 20:37:05 +00:00
eda2752969 Autobuild autoformatter for 53925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=11
2010-11-26 16:21:09 +00:00
aecc2b2fb2 Accepting request 53925 from devel:languages:perl
Accepted submit request 53925 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/53925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Bit-Vector?expand=0&rev=10
2010-11-26 16:21:01 +00:00
4 changed files with 53 additions and 21 deletions

View File

@@ -6,6 +6,7 @@
# - source2
patches:
Bit-Vector-7.1.diff:
perl-Bit-Vector-gcc15.patch: build with gcc15, sent to STBEY@cpan.org
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-

View File

@@ -0,0 +1,13 @@
Index: ToolBox.h
===================================================================
--- ToolBox.h.orig
+++ ToolBox.h
@@ -85,7 +85,7 @@ typedef Z_longword *Z_longwordp
#undef TRUE
#define TRUE (0==0)
-#ifdef __cplusplus
+#if defined(__cplusplus) || (__STDC_VERSION__ >= 202311L)
typedef bool boolean;
#else
#ifdef MACOS_TRADITIONAL

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Tue Apr 15 13:31:05 UTC 2025 - pgajdos@suse.com
- added patches [bsc#1241940]:
fix build with gcc15, sent to STBEY@cpan.org
* perl-Bit-Vector-gcc15.patch
-------------------------------------------------------------------
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

View File

@@ -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
# build with gcc15, sent to STBEY@cpan.org
Patch1: perl-Bit-Vector-gcc15.patch
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 -p0 -n %{cpan_name}-%{cpan_version}
%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