forked from pool/perl-Bit-Vector
Accepting request 177444 from home:coolo:update-perl
- updated to 7.3 * Fixed t/02_____destroy.t to make it pass on perl-5.17.11 OBS-URL: https://build.opensuse.org/request/show/177444 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Bit-Vector?expand=0&rev=19
This commit is contained in:
committed by
Git OBS Bridge
parent
9c37595713
commit
09f949fabf
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d60630f0eb033edabfe904416c6e7324fefff13699e97302361d1bad80f62e0f
|
|
||||||
size 135586
|
|
3
Bit-Vector-7.3.tar.gz
Normal file
3
Bit-Vector-7.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5a76330bfb9b9083371484c960d01ac0ad0e129fe770bfb1e87a85384e088f3d
|
||||||
|
size 130395
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Wed May 23 13:19:49 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Bit-Vector
|
# spec file for package perl-Bit-Vector
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products 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
|
||||||
@@ -17,49 +17,38 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-Bit-Vector
|
Name: perl-Bit-Vector
|
||||||
|
Version: 7.3
|
||||||
|
Release: 0
|
||||||
%define cpan_name Bit-Vector
|
%define cpan_name Bit-Vector
|
||||||
Summary: Bit::Vector Perl module
|
Summary: Bit::Vector Perl module
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
License: GPL-1.0+ or Artistic-1.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Version: 7.2
|
|
||||||
Release: 0
|
|
||||||
Url: http://search.cpan.org/dist/Bit-Vector/
|
Url: http://search.cpan.org/dist/Bit-Vector/
|
||||||
Source: http://www.cpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/S/ST/STBEY/%{cpan_name}-%{version}.tar.gz
|
||||||
Patch: Bit-Vector-7.1.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
Patch0: Bit-Vector-7.1.diff
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Carp::Clan) >= 5.3
|
BuildRequires: perl(Carp::Clan) >= 5.3
|
||||||
BuildRequires: perl(Storable) >= 2.21
|
BuildRequires: perl(Storable) >= 2.21
|
||||||
|
#BuildRequires: perl(Bit::Vector)
|
||||||
|
#BuildRequires: perl(Bit::Vector::Overload)
|
||||||
|
#BuildRequires: perl(Bit::Vector::String)
|
||||||
|
#BuildRequires: perl(Date::Calc::Object)
|
||||||
|
#BuildRequires: perl(the)
|
||||||
Requires: perl(Carp::Clan) >= 5.3
|
Requires: perl(Carp::Clan) >= 5.3
|
||||||
Requires: perl(Storable) >= 2.21
|
Requires: perl(Storable) >= 2.21
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Bit::Vector is an efficient C library which allows you to handle
|
Bit::Vector Perl module
|
||||||
bit vectors, sets (of integers), "big integer arithmetic" and
|
|
||||||
boolean matrices, all of arbitrary sizes.
|
|
||||||
|
|
||||||
The library is efficient (in terms of algorithmical complexity)
|
|
||||||
and therefore fast (in terms of execution speed) for instance
|
|
||||||
through the widespread use of divide-and-conquer algorithms.
|
|
||||||
|
|
||||||
The package also includes an object-oriented Perl module for
|
|
||||||
accessing the C library from Perl, and optionally features
|
|
||||||
overloaded operators for maximum ease of use.
|
|
||||||
|
|
||||||
The C library can nevertheless be used stand-alone, without Perl.
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Steffen Beyer <sb@engelschall.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%patch
|
%patch0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -67,22 +56,11 @@ Authors:
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
### since 11.4 perl_process_packlist
|
|
||||||
### removes .packlist, perllocal.pod files
|
|
||||||
%if 0%{?suse_version} > 1130
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%else
|
|
||||||
# do not perl_process_packlist
|
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/Bit/Vector/.packlist
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
|
||||||
%endif
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,755)
|
||||||
%doc Artistic.txt CREDITS.txt GNU_GPL.txt GNU_LGPL.txt
|
%doc Artistic.txt CHANGES.txt CREDITS.txt examples GNU_GPL.txt GNU_LGPL.txt INSTALL.txt README.txt
|
||||||
%doc CHANGES.txt README.txt examples
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user