Sync from SUSE:SLFO:Main perl-Bit-Vector revision c6ec46ce9e856c0c4ba4f9814f74f1d1

This commit is contained in:
Adrian Schröter 2024-05-03 17:51:37 +02:00
commit 8ff058c673
6 changed files with 277 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

40
Bit-Vector-7.1.diff Normal file
View File

@ -0,0 +1,40 @@
--- examples/SetObject.pl
+++ examples/SetObject.pl
@@ -1,4 +1,4 @@
-#!perl
+#!/usr/bin/perl
###############################################################################
## ##
--- examples/benchmk1.pl
+++ examples/benchmk1.pl
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl
+#!/usr/bin/perl
use Benchmark;
--- examples/benchmk2.pl
+++ examples/benchmk2.pl
@@ -1,4 +1,4 @@
-#!perl
+#!/usr/bin/perl
use Benchmark;
use Bit::Vector::String;
--- examples/benchmk3.pl
+++ examples/benchmk3.pl
@@ -1,4 +1,4 @@
-#!perl -w
+#!/usr/bin/perl -w
package Bit::Vector;
--- examples/primes.pl
+++ examples/primes.pl
@@ -1,4 +1,4 @@
-#!perl -w
+#!/usr/bin/perl -w
###############################################################################
## ##

BIN
Bit-Vector-7.4.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

19
cpanspec.yml Normal file
View File

@ -0,0 +1,19 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
patches:
Bit-Vector-7.1.diff:
#preamble: |-
# BuildRequires: gcc-c++
#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: GPL-1.0+ or Artistic-1.0
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

129
perl-Bit-Vector.changes Normal file
View File

@ -0,0 +1,129 @@
-------------------------------------------------------------------
Tue Apr 14 12:24:17 UTC 2015 - coolo@suse.com
- updated to 7.4
see /usr/share/doc/packages/perl-Bit-Vector/CHANGES.txt
-------------------------------------------------------------------
Mon Jun 3 11:39:43 UTC 2013 - coolo@suse.com
- updated to 7.3
* Fixed t/02_____destroy.t to make it pass on perl-5.17.11
-------------------------------------------------------------------
Wed May 23 13:19:49 UTC 2012 - coolo@suse.com
- update to 7.2
* change boolean type
-------------------------------------------------------------------
Thu Nov 17 12:56:55 UTC 2011 - coolo@suse.com
- use original tar
-------------------------------------------------------------------
Wed Dec 1 13:30:47 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Wed Nov 24 21:36:24 UTC 2010 - chris@computersalat.de
- recreated by cpanspec 1.78
o fix deps
-------------------------------------------------------------------
Wed Jan 13 16:36:27 CET 2010 - anicka@suse.cz
- update to 7.1
* Added prefix "BV_" to all global identifiers in "BitVector.c",
"BitVector.h" and "Vector.xs"
* Fixed a bug in "GCD2()" in "BitVector.c" with null-size vectors
* Added more test cases for "GCD()" in "t/17_________gcd.t"
* Almost completely rewrote "BitVector_Boot()" in "BitVector.c"
in order to fix the problem that it calculated an unsigned
long to have 33 bits under MacOS X (Darwin), leading to
failing tests in "t/28___chunklist.t"
* BEWARE that the type "ErrCode", which is part of the inter-
face of the C library "BitVector.c", has been changed!
* Added more tests and a debugging aid to "t/28___chunklist.t"
* Removed the two example files showing how to freeze/thaw
"Bit::Vector" objects using "Data::Dumper", because after
closer inspection this proved to be a can of worms
* Replaced "Storable::freeze()" by "Storable::nfreeze()"
* Added more test cases for "Storable"
* Added two example files showing how to freeze/thaw
using "Data::Dumper"
* Fixed the bug of "Storable" not reconstructing nested data
structures properly which contain several references to
the same "Bit::Vector" object
* Fixed hard-coded table size "MASKTABSIZE" in "BitVector.c"
* Small cosmetic fixes to the documentation
* Replaced "STORABLE_thaw()" by "STORABLE_attach()"
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Mon Aug 3 16:04:27 CEST 2009 - anicka@suse.cz
- update to 6.6
- Made the module thread-safe and MacOS X compatible
- Added automatic support for module "Storable"
-------------------------------------------------------------------
Wed Jan 25 21:39:29 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Aug 1 14:46:20 CEST 2005 - mjancar@suse.cz
- update to 6.4
- add perl-Carp-Clan to Requires
-------------------------------------------------------------------
Sun Jan 11 10:58:48 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Fri Aug 22 14:05:19 CEST 2003 - mjancar@suse.cz
- require the perl version we build with
-------------------------------------------------------------------
Tue Jul 15 11:14:17 CEST 2003 - mjancar@suse.cz
- adapt to perl-5.8.1
- use %perl_process_packlist
-------------------------------------------------------------------
Mon Jun 16 18:18:03 CEST 2003 - mjancar@suse.cz
- use $RPM_OPT_FLAGS
- fix filelist
-------------------------------------------------------------------
Tue May 20 12:38:42 CEST 2003 - mjancar@suse.cz
- remove unpackaged files
-------------------------------------------------------------------
Sat Oct 12 18:34:04 CEST 2002 - prehak@suse.cz
- update to version 6.3
- removed .txt extension from documentation files
-------------------------------------------------------------------
Tue Jul 2 17:40:06 MEST 2002 - mls@suse.de
- remove race in .packlist generation
-------------------------------------------------------------------
Mon Jan 21 20:03:22 CET 2002 - rvasice@suse.cz
- initial package release (version 6.1)

63
perl-Bit-Vector.spec Normal file
View File

@ -0,0 +1,63 @@
#
# spec file for package perl-Bit-Vector
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://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
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
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(Storable) >= 2.21
Requires: perl(Carp::Clan) >= 5.3
Requires: perl(Storable) >= 2.21
%{perl_requires}
%description
Bit::Vector Perl module
%prep
%setup -q -n %{cpan_name}-%{version}
%patch0
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%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
%changelog