Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-CSS-Minifier-XS for
openSUSE:Factory checked in at 2021-08-26 23:15:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-CSS-Minifier-XS (Old)
and /work/SRC/openSUSE:Factory/.perl-CSS-Minifier-XS.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-CSS-Minifier-XS"
Thu Aug 26 23:15:01 2021 rev:2 rq:914267 version:0.13
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-CSS-Minifier-XS/perl-CSS-Minifier-XS.changes
2015-04-02 16:04:07.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-CSS-Minifier-XS.new.1899/perl-CSS-Minifier-XS.changes
2021-08-26 23:16:05.640209760 +0200
@@ -1,0 +2,38 @@
+Sun Feb 7 03:07:05 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 0.13
+ see /usr/share/doc/packages/perl-CSS-Minifier-XS/Changes
+
+ 0.13 2021-02-06 17:26:39-08:00 America/Vancouver
+ - Internals; avoid allocating memory for each node as we tokenize the
+ document, and simply use pointers back into original string.
+ - Dramatically improves performance; local testing shows boost from
+ ~25/s to ~85MB/s
+ - Improve zero value minification further
+ - Simplified whitespace compaction
+ 0.12 2021-01-30 21:46:07-08:00 America/Vancouver
+ - rewrote test suite into a single ".t" test
+ - GH #1 / RT #97574; whitespace before a ":" in a pseudo-selector is
+ meaningful and needs to be preserved (e.g. "#link :visited")
+ - Further reductions of "zero values", when possible
+ - "00000px" and "0.0px" become "0px"
+ - "000%" and "0.0%" become "0%"
+ - units are preserved inside of functions, but eliminated otherwise,
and
+ percentages are always left as a percentages
+ - Optimized whitespace collapsing
+ - Optimized memory usage and string copying
+ 0.11 2020-12-30 21:27:39-08:00 America/Vancouver
+ - POD spelling fixes
+ - Switch to DZil Author Bundle
+ 0.10 2020-12-28 11:00:17-08:00 America/Vancouver
+ - RT #90879; correct minification of %s in "hsl()" and "hsla()" functions
+ Thanks to Philipp Soehnlein
+ - RT #103231; don't remove units on zero values inside of functions.
+ Thanks to Isaac Montoya, for an additional test case.
+ - No long drop units on zero percentages, as those may be required for
CSS
+ animations. Thanks to Isaac Montoya for continuing to poke me on this.
+ - Now prunes leading whitespace before "!important"
+ e.g. "color: red !important" becomes "color:red!important"
+ - Switch to Dist::Zilla
+
+-------------------------------------------------------------------
Old:
----
CSS-Minifier-XS-0.09.tar.gz
New:
----
CSS-Minifier-XS-0.13.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-CSS-Minifier-XS.spec ++++++
--- /var/tmp/diff_new_pack.wCXUpY/_old 2021-08-26 23:16:06.224209266 +0200
+++ /var/tmp/diff_new_pack.wCXUpY/_new 2021-08-26 23:16:06.228209263 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-CSS-Minifier-XS
#
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,50 +12,49 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
+%define cpan_name CSS-Minifier-XS
Name: perl-CSS-Minifier-XS
-Version: 0.09
+Version: 0.13
Release: 0
-%define cpan_name CSS-Minifier-XS
Summary: XS based CSS minifier
-License: Artistic-1.0 or GPL-1.0+
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/CSS-Minifier-XS/
-Source:
http://www.cpan.org/authors/id/G/GT/GTERMARS/%{cpan_name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+License: Artistic-1.0 OR GPL-1.0-or-later
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/G/GT/GTERMARS/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(ExtUtils::CBuilder)
-BuildRequires: perl(Module::Build) >= 0.40
+BuildRequires: perl(Test::DiagINC) >= 0.002
+BuildRequires: perl(Test::More) >= 0.96
%{perl_requires}
%description
-'CSS::Minifier::XS' is a CSS "minifier"; its designed to remove
-un-necessary whitespace and comments from CSS files, while also *not*
-breaking the CSS.
+'CSS::Minifier::XS' is a CSS "minifier"; its designed to remove unnecessary
+whitespace and comments from CSS files, while also *not* breaking the CSS.
'CSS::Minifier::XS' is similar in function to 'CSS::Minifier', but is
substantially faster as its written in XS and not just pure Perl.
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
-%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
-./Build build flags=%{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+%make_build
%check
-./Build test
+make test
%install
-./Build install destdir=%{buildroot} create_packlist=0
+%perl_make_install
+%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes README
+%license LICENSE
%changelog
++++++ CSS-Minifier-XS-0.09.tar.gz -> CSS-Minifier-XS-0.13.tar.gz ++++++
++++ 3154 lines of diff (skipped)
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
# baz.patch: PATCH-FIX-OPENSUSE
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section