Accepting request 400711 from devel:languages:perl

- updated to 0.72
   see /usr/share/doc/packages/perl-Text-BibTeX/Changes
  0.72 2016-04-19
    * Added clone() method to Text::BibTeX::Entry
  
  0.71 2015-05-28
   * Fix segmentation fault when btparse fails parsing a long
     entry. Thanks to Dale Evans.
   * Stop using UNIVERSAL (5.21.3 requirement).
     Thanks to Jitka Plesnikova
- removed perl-Text-BibTeX-libdir.patch since it's been upstreamed

OBS-URL: https://build.opensuse.org/request/show/400711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-BibTeX?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2016-06-12 16:51:42 +00:00 committed by Git OBS Bridge
commit b70b194cfc
5 changed files with 34 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a1615bb44a43c2d18f3d81167ec8e432a9a778190251b630bbe4fe534d99e53
size 285481

3
Text-BibTeX-0.72.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc99855298233f677335dfec83172e04d3a008b368380d11bbd5cbf67c92d66d
size 286747

View File

@ -1,11 +0,0 @@
--- Build.PL.orig 2012-05-25 11:14:30.837613000 +0200
+++ Build.PL 2012-05-25 11:14:51.170816000 +0200
@@ -74,7 +74,7 @@
unlink catfile($libdir, $target);
}
} else {
- if ($Config{archname} =~ /^x86_64/) {
+ if ($Config{archname} =~ /^x86_64|ppc64|s390x|aarch64/) {
$libdir =~ s/\bbin\b/lib64/;
if (!-d $libdir) {
my $test = $libdir;

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue May 31 11:15:03 UTC 2016 - pjanouch@suse.de
- updated to 0.72
see /usr/share/doc/packages/perl-Text-BibTeX/Changes
0.72 2016-04-19
* Added clone() method to Text::BibTeX::Entry
0.71 2015-05-28
* Fix segmentation fault when btparse fails parsing a long
entry. Thanks to Dale Evans.
* Stop using UNIVERSAL (5.21.3 requirement).
Thanks to Jitka Plesnikova
- removed perl-Text-BibTeX-libdir.patch since it's been upstreamed
-------------------------------------------------------------------
Fri Sep 19 12:15:49 UTC 2014 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-Text-BibTeX
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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
@ -16,26 +16,27 @@
#
Name: perl-Text-BibTeX
Version: 0.70
Release: 0
%define cpan_name Text-BibTeX
Name: perl-Text-BibTeX
Version: 0.72
Release: 0
Summary: Interface to read and parse BibTeX files
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-BibTeX/
Source: http://www.cpan.org/authors/id/A/AM/AMBS/%{cpan_name}-%{version}.tar.gz
Patch: Text-BibTeX-rpmlint.patch
Patch1: perl-Text-BibTeX-libdir.patch
Patch2: perl-Text-BibTeX-uninit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.cpan.org/authors/id/A/AM/AMBS/%{cpan_name}-%{version}.tar.gz
Patch0: Text-BibTeX-rpmlint.patch
Patch2: perl-Text-BibTeX-uninit.patch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Capture::Tiny) >= 0.06
BuildRequires: perl(Config::AutoConf) >= 0.16
BuildRequires: perl(ExtUtils::CBuilder) >= 0.27
BuildRequires: perl(ExtUtils::LibBuilder) >= 0.02
BuildRequires: perl(Module::Build) >= 0.36
BuildRequires: perl(Module::Build) >= 0.360300
BuildRequires: perl(Scalar::Util) >= 1.42
Requires: perl(Scalar::Util) >= 1.42
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
%description
@ -62,15 +63,14 @@ pages in the library).
%prep
%setup -q -n %{cpan_name}-%{version}
%patch
%patch1
%patch0
%patch2 -p1
find . -type f -print0 | xargs -0 chmod 644
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%build
export CFLAGS='%{optflags}'
export CC=gcc
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
perl Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%check