diff --git a/.gitignore b/.gitignore index 2aa2f42..c88f993 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ clog /wordpress-*.tar.gz /wordpress-4.9.2-strip.tar.xz +/wordpress-4.9.4-strip.tar.xz diff --git a/sources b/sources index 211a927..ca33443 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wordpress-4.9.2-strip.tar.xz) = a61f292f1721a7fbf78d510b75831a2e842c67600b2625b8ef6bf1b282efecabb8615175a67b71af9636a778515c3c48b521096a3e962fef11e71b1a1d4d6a7b +SHA512 (wordpress-4.9.4-strip.tar.xz) = 11be065f84087a41303fc4afa77426fc722a4baba3099b7d2c4998476c64bc9d6c5142a1143f75051f36b55f884fc30a8bc71135afab67dc38a7dcc845d5cf68 diff --git a/wordpress-4.9-remove-jshint-refs.patch b/wordpress-4.9-remove-jshint-refs.patch deleted file mode 100644 index 245039b..0000000 --- a/wordpress-4.9-remove-jshint-refs.patch +++ /dev/null @@ -1,19 +0,0 @@ -Description: Remove references to jshint - The file jshint.js uses a non-free license. It is removed as part of the upstream - tarball rebuild but this patch removes the things that reference it. Luckily the - script handler does a NOP for a non-existent script -Author: Craig Small -Origin: Debian -Bug: https://core.trac.wordpress.org/ticket/42850 -Reviewed-by: Craig Small -Last-Update: 2017-12-09 ---- a/wp-includes/script-loader.php -+++ b/wp-includes/script-loader.php -@@ -467,7 +467,6 @@ - - $scripts->add( 'wp-codemirror', '/wp-includes/js/codemirror/codemirror.min.js', array(), '5.29.1-alpha-ee20357' ); - $scripts->add( 'csslint', '/wp-includes/js/codemirror/csslint.js', array(), '1.0.5' ); -- $scripts->add( 'jshint', '/wp-includes/js/codemirror/jshint.js', array(), '2.9.5' ); - $scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.2' ); - $scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '0.9.14-xwp' ); - $scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) ); diff --git a/wordpress-4.9.4-remove-jshint-refs.patch b/wordpress-4.9.4-remove-jshint-refs.patch new file mode 100644 index 0000000..41b59ae --- /dev/null +++ b/wordpress-4.9.4-remove-jshint-refs.patch @@ -0,0 +1,19 @@ +Description: Remove references to jshint + The file jshint.js uses a non-free license. It is removed as part of the upstream + tarball rebuild but this patch removes the things that reference it. Luckily the + script handler does a NOP for a non-existent script +Author: Craig Small +Origin: Debian +Bug: https://core.trac.wordpress.org/ticket/42850 +Reviewed-by: Craig Small +Last-Update: 2017-12-09 +--- a/wp-includes/script-loader.php ++++ b/wp-includes/script-loader.php +@@ -461,7 +461,6 @@ + + $scripts->add( 'wp-codemirror', '/wp-includes/js/codemirror/codemirror.min.js', array(), '5.29.1-alpha-ee20357' ); + $scripts->add( 'csslint', '/wp-includes/js/codemirror/csslint.js', array(), '1.0.5' ); +- $scripts->add( 'jshint', '/wp-includes/js/codemirror/jshint.js', array(), '2.9.5.999' ); + $scripts->add( 'jsonlint', '/wp-includes/js/codemirror/jsonlint.js', array(), '1.6.2' ); + $scripts->add( 'htmlhint', '/wp-includes/js/codemirror/htmlhint.js', array(), '0.9.14-xwp' ); + $scripts->add( 'htmlhint-kses', '/wp-includes/js/codemirror/htmlhint-kses.js', array( 'htmlhint' ) ); diff --git a/wordpress.spec b/wordpress.spec index 2859c7a..ea4470e 100644 --- a/wordpress.spec +++ b/wordpress.spec @@ -19,7 +19,7 @@ Summary: Blog tool and publishing platform URL: http://www.wordpress.org Name: wordpress -Version: 4.9.2 +Version: 4.9.4 Group: Applications/Publishing Release: 1%{?dist} License: GPLv2 @@ -60,7 +60,7 @@ Patch6: wordpress-4.9-noupdate.patch # Use system libraries Patch7: wordpress-4.4-systemlibs.patch # Debian patch for jshint -Patch8: wordpress-4.9-remove-jshint-refs.patch +Patch8: wordpress-4.9.4-remove-jshint-refs.patch BuildArch: noarch @@ -276,6 +276,9 @@ find ${RPM_BUILD_ROOT} \( -name \*.dolly -o -name \*.rhbz522897 -o -name \*.orig %changelog +* Wed Feb 7 2018 Remi Collet - 4.9.4-1 +- WordPress 4.9.4 Maintenance Release + * Wed Jan 17 2018 Remi Collet - 4.9.2-1 - WordPress 4.9.2 Security and Maintenance Release - drop non-free jshint.js file #1528765