forked from pool/perl-Bit-Vector
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
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.osc
|
||||||
40
Bit-Vector-7.1.diff
Normal file
40
Bit-Vector-7.1.diff
Normal 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
BIN
Bit-Vector-7.4.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
19
cpanspec.yml
Normal file
19
cpanspec.yml
Normal 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
|
||||||
135
perl-Bit-Vector.changes
Normal file
135
perl-Bit-Vector.changes
Normal file
@@ -0,0 +1,135 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
||||||
|
|
||||||
|
- 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)
|
||||||
|
|
||||||
67
perl-Bit-Vector.spec
Normal file
67
perl-Bit-Vector.spec
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
#
|
||||||
|
# spec file for package perl-Bit-Vector
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%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
|
||||||
|
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
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Carp::Clan) >= 5.300
|
||||||
|
BuildRequires: perl(Storable) >= 2.21
|
||||||
|
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
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{cpan_name}-%{cpan_version} -N
|
||||||
|
|
||||||
|
%patch -P0
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
%perl_make_install
|
||||||
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
|
%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