From b021e6de3fff0645a214701f8efedc1a3183d186 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 29 Jan 2018 09:50:03 +0100 Subject: [PATCH] 1.010 bump --- .gitignore | 1 + ...2p-1.009-Check-for-n-argument-length.patch | 35 ++++++++++--------- perl-App-a2p.spec | 16 +++++---- sources | 2 +- 4 files changed, 29 insertions(+), 25 deletions(-) diff --git a/.gitignore b/.gitignore index c5ec9d9..378ee10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /App-a2p-1.007.tar.gz /App-a2p-1.008.tar.gz /App-a2p-1.009.tar.gz +/App-a2p-1.010.tar.gz diff --git a/App-a2p-1.009-Check-for-n-argument-length.patch b/App-a2p-1.009-Check-for-n-argument-length.patch index 26470a0..a64cf2c 100644 --- a/App-a2p-1.009-Check-for-n-argument-length.patch +++ b/App-a2p-1.009-Check-for-n-argument-length.patch @@ -37,23 +37,24 @@ index d1f2026..8f45ec2 100644 done_testing; sub run_command { -diff --git a/walk.c b/walk.c -index 82d5346..26b378f 100644 ---- a/walk.c -+++ b/walk.c -@@ -72,8 +72,11 @@ walk(int useval, int level, int node, int *numericptr, int minprec) - if (namelist) { - while (isALPHA(*namelist)) { - for (d = tokenbuf,s=namelist; -- isWORDCHAR(*s); -+ d - tokenbuf < sizeof(tokenbuf) && isWORDCHAR(*s); - *d++ = *s++) ; -+ if (d - tokenbuf == sizeof(tokenbuf)) -+ fatal("Internal error: argument longer than %d: %s", -+ sizeof(tokenbuf) - 1, namelist); - *d = '\0'; - while (*s && !isALPHA(*s)) s++; - namelist = s; +# Already applied +#diff --git a/walk.c b/walk.c +#index 82d5346..26b378f 100644 +#--- a/walk.c +#+++ b/walk.c +#@@ -72,8 +72,11 @@ walk(int useval, int level, int node, int *numericptr, int minprec) +# if (namelist) { +# while (isALPHA(*namelist)) { +# for (d = tokenbuf,s=namelist; +#- isWORDCHAR(*s); +#+ d - tokenbuf < sizeof(tokenbuf) && isWORDCHAR(*s); +# *d++ = *s++) ; +#+ if (d - tokenbuf == sizeof(tokenbuf)) +#+ fatal("Internal error: argument longer than %d: %s", +#+ sizeof(tokenbuf) - 1, namelist); +# *d = '\0'; +# while (*s && !isALPHA(*s)) s++; +# namelist = s; -- 2.5.0 diff --git a/perl-App-a2p.spec b/perl-App-a2p.spec index 95fc7a7..02d5267 100644 --- a/perl-App-a2p.spec +++ b/perl-App-a2p.spec @@ -1,6 +1,6 @@ Name: perl-App-a2p -Version: 1.009 -Release: 10%{?dist} +Version: 1.010 +Release: 1%{?dist} Summary: Awk to Perl translator License: GPL+ or Artistic Group: Development/Tools @@ -24,10 +24,10 @@ BuildRequires: byacc BuildRequires: coreutils BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(Config) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Devel::FindPerl is a non-core module @@ -56,13 +56,12 @@ command line and produces a comparable Perl script. byacc -o a2p.c a2p.y %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -78,6 +77,9 @@ make test %{_mandir}/man1/* %changelog +* Mon Jan 29 2018 Jitka Plesnikova - 1.010-1 +- 1.010 bump + * Thu Aug 03 2017 Fedora Release Engineering - 1.009-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild diff --git a/sources b/sources index 8efe534..83d4e75 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a84ee58ec053ccb1b70a4cfdb2358c98 App-a2p-1.009.tar.gz +SHA512 (App-a2p-1.010.tar.gz) = 7bf04ee2b56101fbbd20a5fc4bbe420961f56bb04bc8fe0656f859b6128130980b9183da2862e4cf454c33cfb8028b51cd04d23b03b6d8e1309110fd7ca56fde