From 53d82fbf3239d1f5b0034c17d27db84ec7c42fa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> Date: Fri, 30 Jun 2017 15:13:56 +0200 Subject: 0.17 bump
--- .gitignore | 1 + ...ride-OPTIMIZE-by-default-and-do-not-lose-.patch | 47 ---------------------- ...-0.17-Do-not-override-OPTIMIZE-by-default.patch | 30 ++++++++++++++ perl-XML-Fast.spec | 7 +++- sources | 2 +- 5 files changed, 37 insertions(+), 50 deletions(-) delete mode 100644 XML-Fast-0.16-Do-not-override-OPTIMIZE-by-default-and-do-not-lose-.patch create mode 100644 XML-Fast-0.17-Do-not-override-OPTIMIZE-by-default.patch diff --git a/.gitignore b/.gitignore index eab2e03..9bad711 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /XML-Fast-0.11.tar.gz /XML-Fast-0.16.tar.gz +/XML-Fast-0.17.tar.gz diff --git a/XML-Fast-0.16-Do-not-override-OPTIMIZE-by-default-and-do-not-lose-.patch b/XML-Fast-0.16-Do-not-override-OPTIMIZE-by-default-and-do-not-lose-.patch deleted file mode 100644 index 4b5af7e..0000000 --- a/XML-Fast-0.16-Do-not-override-OPTIMIZE-by-default-and-do-not-lose-.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 30d32c5b159b3d3eb7d2336b39fc5072fa8d234b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> -Date: Tue, 27 Jun 2017 08:24:26 +0200 -Subject: [PATCH] Do not override OPTIMIZE by default and do not lose CFLAGS -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Overriding CFLAGS loses perl's ccflags value and that breaks ABI -between libperl.so and the XS module. - -Overriding OPTIMIZE introduces irregularities into compiled code in -context of large distribution package sets. - -Signed-off-by: Petr Písař <ppi...@redhat.com> ---- - Makefile.PL | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/Makefile.PL b/Makefile.PL -index 88ac791..c3d9e57 100644 ---- a/Makefile.PL -+++ b/Makefile.PL -@@ -1,5 +1,6 @@ - use 5.008008; - use ExtUtils::MakeMaker; -+use Config; - - our $AUTHOR = -e '.gitignore'; - if ($AUTHOR) { -@@ -16,11 +17,10 @@ WriteMakefile( - DEFINE => '', - INC => '-I.', - $AUTHOR ? ( -- CCFLAGS => '-Wunused -std=c99', # only author mode -+ CCFLAGS => $Config{ccflags} . ' -Wunused -std=c99', # only author mode - OPTIMIZE => '-g -O2 -funroll-loops', - ) : ( -- CCFLAGS => '-Wno-parentheses -Wno-pointer-sign', -- OPTIMIZE => '-O2 -funroll-loops', -+ CCFLAGS => $Config{ccflags} . ' -Wno-parentheses -Wno-pointer-sign', - ), - OBJECT => 'Fast.o xmlfast.o', # link all the C files too - META_ADD => { license => 'perl' }, --- -2.9.4 - diff --git a/XML-Fast-0.17-Do-not-override-OPTIMIZE-by-default.patch b/XML-Fast-0.17-Do-not-override-OPTIMIZE-by-default.patch new file mode 100644 index 0000000..ec8178b --- /dev/null +++ b/XML-Fast-0.17-Do-not-override-OPTIMIZE-by-default.patch @@ -0,0 +1,30 @@ +From e72c454ae7cd2be16974b54884a568031e00df5f Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com> +Date: Fri, 30 Jun 2017 15:10:22 +0200 +Subject: [PATCH] Do not override OPTIMIZE by default +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +CPAN RT#118714 + +Signed-off-by: Petr Písař <ppi...@redhat.com> +--- + Makefile.PL | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/Makefile.PL b/Makefile.PL +index b1153e7..94fae7b 100644 +--- a/Makefile.PL ++++ b/Makefile.PL +@@ -23,7 +23,6 @@ WriteMakefile( + DEFINE => '', + INC => '-I.', + CCFLAGS => $CCFLAGS, +- OPTIMIZE => ($AUTHOR ? '-g ' : '').'-O2', + OBJECT => 'Fast.o xmlfast.o', # link all the C files too + META_ADD => { license => 'perl' }, + ); +-- +2.9.4 + diff --git a/perl-XML-Fast.spec b/perl-XML-Fast.spec index ff9e12b..02bfeb9 100644 --- a/perl-XML-Fast.spec +++ b/perl-XML-Fast.spec @@ -1,12 +1,12 @@ Name: perl-XML-Fast -Version: 0.16 +Version: 0.17 Release: 1%{?dist} Summary: Simple and very fast XML to hash conversion License: GPL+ or Artistic URL: http://search.cpan.org/dist/XML-Fast/ Source0: http://www.cpan.org/authors/id/M/MO/MONS/XML-Fast-%{version}.tar.gz # Do not override OPTIMIZE, CPAN RT#118714 -Patch0: XML-Fast-0.16-Do-not-override-OPTIMIZE-by-default-and-do-not-lose-.patch +Patch0: XML-Fast-0.17-Do-not-override-OPTIMIZE-by-default.patch BuildRequires: findutils BuildRequires: gcc BuildRequires: make @@ -59,6 +59,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Jun 30 2017 Petr Pisar <ppi...@redhat.com> - 0.17-1 +- 0.17 bump + * Tue Jun 27 2017 Petr Pisar <ppi...@redhat.com> - 0.16-1 - 0.16 bump diff --git a/sources b/sources index c40bd27..a018ae6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (XML-Fast-0.16.tar.gz) = 04f47ac63c8b9fad37513994745eabc1d26c497405bd353b555eeed70e5ecc86d0d40cf8b6e27f2adbec54d78b49acf0200c1d11e418fec0127426ab52a35541 +SHA512 (XML-Fast-0.17.tar.gz) = 2319ba25263dd8942a6239d0e094e1375871f1d7ce5e5cb3f5734d0e4fd69d7dec240cdb903f8bbe2fab373ae5801dbfee5def0d66216988a1685d29853fa2ae -- cgit v1.1 https://src.fedoraproject.org/cgit/perl-XML-Fast.git/commit/?h=master&id=53d82fbf3239d1f5b0034c17d27db84ec7c42fa7 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org