Hello community, here is the log from the commit of package libcss for openSUSE:Factory checked in at 2020-09-03 01:17:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcss (Old) and /work/SRC/openSUSE:Factory/.libcss.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcss" Thu Sep 3 01:17:00 2020 rev:6 rq:831415 version:0.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libcss/libcss.changes 2017-08-16 16:13:12.989570959 +0200 +++ /work/SRC/openSUSE:Factory/.libcss.new.3399/libcss.changes 2020-09-03 01:17:56.308554048 +0200 @@ -1,0 +2,10 @@ +Wed Sep 2 09:03:04 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Update to 0.9.1: + * Many bugfixes around + * support for new netsurf-buildsystem toolset +- Rebase libcss-buildopts.patch to this release +- Add patch to fix missing inlcudes: + * fix-test-includes.patch + +------------------------------------------------------------------- Old: ---- libcss-0.4.0-src.tar.gz New: ---- fix-test-includes.patch libcss-0.9.1-src.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcss.spec ++++++ --- /var/tmp/diff_new_pack.vmCAp8/_old 2020-09-03 01:17:57.292554410 +0200 +++ /var/tmp/diff_new_pack.vmCAp8/_new 2020-09-03 01:17:57.296554412 +0200 @@ -1,7 +1,7 @@ # # spec file for package libcss # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,26 @@ # 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/ # -%global make_vars COMPONENT_TYPE=lib-shared PREFIX=%{_prefix} LIBDIR=%{_lib} Q= +%global make_vars COMPONENT_TYPE=lib-shared PREFIX=%{_prefix} LIBDIR=%{_lib} CC=cc Q= %global build_vars OPTCFLAGS='%{optflags}' OPTLDFLAGS="$RPM_LD_FLAGS" Name: libcss -Version: 0.4.0 +Version: 0.9.1 Release: 0 Summary: A CSS parser and selection engine License: MIT -Group: Development/Libraries/C and C++ -Url: http://www.netsurf-browser.org/projects/libcss/ +URL: https://www.netsurf-browser.org/projects/libcss/ Source: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz -BuildRequires: check-devel -BuildRequires: libparserutils-devel >= 0.2.0 -BuildRequires: libwapcaplet-devel >= 0.2.1 +Patch0: libcss-buildopts.patch +Patch1: fix-test-includes.patch BuildRequires: netsurf-buildsystem >= 1.1 -BuildRequires: pkg-config -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Patch: libcss-buildopts.patch +BuildRequires: pkgconfig +BuildRequires: pkgconfig(check) +BuildRequires: pkgconfig(libparserutils) >= 0.2.0 +BuildRequires: pkgconfig(libwapcaplet) >= 0.2.1 %description LibCSS is a CSS (Cascading Style Sheet) parser and selection engine, @@ -40,7 +39,6 @@ %package -n libcss0 Summary: A CSS parser and selection engine -Group: System/Libraries %description -n libcss0 LibCSS is a CSS (Cascading Style Sheet) parser and selection engine, @@ -55,7 +53,6 @@ %package devel Summary: Development files for %{name} -Group: Development/Libraries/C and C++ Requires: libcss0 = %{version}-%{release} %description devel @@ -64,29 +61,27 @@ %prep %setup -q -%patch -p1 +%autopatch -p1 %build -make %{?_smp_mflags} %{make_vars} %{build_vars} +%make_build %{make_vars} %{build_vars} %install -make install DESTDIR=%{buildroot} %{make_vars} +%make_install %{make_vars} -%post -n libcss0 -p /sbin/ldconfig +%check +%make_build test %{make_vars} %{build_vars} +%post -n libcss0 -p /sbin/ldconfig %postun -n libcss0 -p /sbin/ldconfig -%check -make %{?_smp_mflags} test %{make_vars} - %files -n libcss0 -%defattr(-,root,root) +%license COPYING %{_libdir}/%{name}.so.* %files devel -%defattr(-,root,root) %doc docs/* -%doc COPYING README +%doc README %{_includedir}/%{name} %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc ++++++ fix-test-includes.patch ++++++ Index: libcss-0.9.1/test/dump_computed.h =================================================================== --- libcss-0.9.1.orig/test/dump_computed.h +++ libcss-0.9.1/test/dump_computed.h @@ -1,3 +1,4 @@ +#include <assert.h> #include <libcss/computed.h> #include <libcss/properties.h> #include <libcss/types.h> ++++++ libcss-0.4.0-src.tar.gz -> libcss-0.9.1-src.tar.gz ++++++ ++++ 55503 lines of diff (skipped) ++++++ libcss-buildopts.patch ++++++ --- /var/tmp/diff_new_pack.vmCAp8/_old 2020-09-03 01:17:57.628554534 +0200 +++ /var/tmp/diff_new_pack.vmCAp8/_new 2020-09-03 01:17:57.628554534 +0200 @@ -1,16 +1,19 @@ ---- libcss-0.3.0.orig/Makefile -+++ libcss-0.3.0/Makefile -@@ -18,13 +18,13 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer- +Index: libcss-0.9.1/Makefile +=================================================================== +--- libcss-0.9.1.orig/Makefile ++++ libcss-0.9.1/Makefile +@@ -24,7 +24,7 @@ WARNFLAGS := -Wall -W -Wundef -Wpointer- # BeOS/Haiku/AmigaOS4 standard library headers create warnings - ifneq ($(TARGET),beos) - ifneq ($(TARGET),amiga) + ifneq ($(HOST),i586-pc-haiku) + ifneq ($(findstring amigaos,$(HOST)),amigaos) - WARNFLAGS := $(WARNFLAGS) -Werror -+ WARNFLAGS := $(WARNFLAGS) ++ WARNFLAGS := $(WARNFLAGS) endif endif --CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ -+CFLAGS := -D_GNU_SOURCE -I$(CURDIR)/include/ \ - -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) + +@@ -32,7 +32,7 @@ CFLAGS := -D_BSD_SOURCE -D_DEFAULT_SOURC + -I$(CURDIR)/include/ -I$(CURDIR)/src \ + $(WARNFLAGS) $(CFLAGS) ifneq ($(GCCVER),2) - CFLAGS := $(CFLAGS) -std=c99 + CFLAGS := $(CFLAGS) -std=gnu99
