From 872b95db44e7fb626923303b6d64b8286acc2a83 Mon Sep 17 00:00:00 2001 From: Colin B. Macdonald Date: Jan 11 2017 20:26:16 +0000 Subject: Version bump (#1412105) --- diff --git a/.gitignore b/.gitignore index 02c0ad9..8e4c4d3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /Text-BibTeX-0.74.tar.gz /Text-BibTeX-0.76.tar.gz /Text-BibTeX-0.77.tar.gz +/Text-BibTeX-0.78.tar.gz diff --git a/perl-Text-BibTeX-fix-format-code.patch b/perl-Text-BibTeX-fix-format-code.patch deleted file mode 100644 index fde2829..0000000 --- a/perl-Text-BibTeX-fix-format-code.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff --git a/btparse/src/format_name.c b/btparse/src/format_name.c -index 3e8a891..bdcd5ae 100644 ---- a/btparse/src/format_name.c -+++ b/btparse/src/format_name.c -@@ -96,6 +96,9 @@ bt_create_name_format (char * parts, boolean abbrev_first) - int part_pos[BT_MAX_NAMEPARTS]; - int i; - -+ for (i = 0; i < BT_MAX_NAMEPARTS; i++) -+ part_pos[i] = -2; -+ - /* - * Check that the part list (a string with one letter -- f, v, l, or j - * -- for each part is valid: no longer than four characters, and no -@@ -905,6 +908,12 @@ dump_format (bt_name_format * format) - - for (i = 0; i < BT_MAX_NAMEPARTS; i++) - { -+ int j; -+ for (j = 0; j < format->num_parts; j++) -+ if (i == format->parts[j]) -+ break; -+ if (j == format->num_parts) continue; -+ - printf (" %-5s: pre-part=%p (%s), post-part=%p (%s)\n", - nameparts[i], - format->pre_part[i], format->pre_part[i], diff --git a/perl-Text-BibTeX.spec b/perl-Text-BibTeX.spec index 3dd81ff..2886777 100644 --- a/perl-Text-BibTeX.spec +++ b/perl-Text-BibTeX.spec @@ -1,13 +1,11 @@ Name: perl-Text-BibTeX -Version: 0.77 -Release: 2%{?dist} +Version: 0.78 +Release: 1%{?dist} Summary: Interface to read and parse BibTeX files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Text-BibTeX/ Source0: http://www.cpan.org/authors/id/A/AM/AMBS/Text-BibTeX-%{version}.tar.gz -# from upstream: https://github.com/ambs/Text-BibTeX/commit/af90c47efe98899958ab088f5ee4aa1ee744dd64 -Patch0: %{name}-fix-format-code.patch BuildRequires: chrpath BuildRequires: coreutils BuildRequires: findutils @@ -55,7 +53,6 @@ entries, as well as other miscellaneous functions. %prep %setup -q -n Text-BibTeX-%{version} -%patch0 -p1 sed -ri 's#/usr/local/bin/perl5?#%{__perl}#' scripts/* examples/* chmod a-x scripts/* examples/* @@ -82,6 +79,9 @@ chrpath -d $RPM_BUILD_ROOT%{_bindir}/* %{_libdir}/*.so %changelog +* Wed Jan 11 2017 Colin B. Macdonald - 0.78-1 +- Version bump (#1412105) + * Wed Jan 04 2017 Colin B. Macdonald - 0.77-2 - Patch from upstream for s390 arch (#1400921) diff --git a/sources b/sources index c8f521f..236e751 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -0811516b5d25ca922d950d571514c7ae Text-BibTeX-0.77.tar.gz +SHA512 (Text-BibTeX-0.78.tar.gz) = b888e2273db40a104a1206462b172587140389aa69eb725db589f137a532b87958182bf31734f873bc5f1dec2f6bedc6ed93c0e40ed82c014a0aff3f573242b5