Version bump (#1412105)

This commit is contained in:
Colin B. Macdonald 2017-01-11 12:26:16 -08:00
parent 25a81d9ee4
commit 872b95db44
4 changed files with 7 additions and 33 deletions

1
.gitignore vendored
View File

@ -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

View File

@ -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],

View File

@ -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 <cbm@m.fsf.org> - 0.78-1
- Version bump (#1412105)
* Wed Jan 04 2017 Colin B. Macdonald <cbm@m.fsf.org> - 0.77-2
- Patch from upstream for s390 arch (#1400921)

View File

@ -1 +1 @@
0811516b5d25ca922d950d571514c7ae Text-BibTeX-0.77.tar.gz
SHA512 (Text-BibTeX-0.78.tar.gz) = b888e2273db40a104a1206462b172587140389aa69eb725db589f137a532b87958182bf31734f873bc5f1dec2f6bedc6ed93c0e40ed82c014a0aff3f573242b5