commit uriparser for openSUSE:Factory
Hello community, here is the log from the commit of package uriparser for openSUSE:Factory checked in at 2018-03-01 12:06:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/uriparser (Old) and /work/SRC/openSUSE:Factory/.uriparser.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "uriparser" Thu Mar 1 12:06:22 2018 rev:2 rq:580496 version:0.8.5 Changes: -------- --- /work/SRC/openSUSE:Factory/uriparser/uriparser.changes 2018-02-22 14:59:22.784622640 +0100 +++ /work/SRC/openSUSE:Factory/.uriparser.new/uriparser.changes 2018-03-01 12:06:23.933134555 +0100 @@ -1,0 +2,8 @@ +Mon Feb 26 08:32:38 UTC 2018 - adam.majer@suse.de + +- Fix License - the source code contains LGPL licensed test suite. + The library itself is licensed under BSD license. Use SPDX v3 +- Test suite requires cpptest, which we don't have at the moment. +- spec-cleaner cleanup. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uriparser.spec ++++++ --- /var/tmp/diff_new_pack.IGh8ZF/_old 2018-03-01 12:06:24.573111586 +0100 +++ /var/tmp/diff_new_pack.IGh8ZF/_new 2018-03-01 12:06:24.577111443 +0100 @@ -1,5 +1,5 @@ # -# spec file for package liburiparser1 +# spec file for package uriparser # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # @@ -15,12 +15,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + +%bcond_with cpptest + %define so_ver 1 Name: uriparser Version: 0.8.5 Release: 0 Summary: A strictly RFC 3986 compliant URI parsing library -License: BSD-3-Clause +License: BSD-3-Clause AND LGPL-2.1-or-later Group: Development/Libraries/C and C++ Url: https://uriparser.github.io Source: https://github.com/uriparser/uriparser/archive/%{name}-%{version}.tar.gz @@ -29,8 +32,11 @@ BuildRequires: automake BuildRequires: doxygen BuildRequires: gcc-c++ +%if %{with cpptest} +BuildRequires: cpptest-devel > 1.1.0 +%endif BuildRequires: libtool -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(libxdot) Provides: uriparse = %{version}-%{release} Obsoletes: uriparse < %{version}-%{release} @@ -53,10 +59,10 @@ %package devel Summary: Development files for a URI parsing library -License: BSD-3-Clause and LGPL-2.1 +License: BSD-3-Clause Group: Development/Libraries/C and C++ -Requires: liburiparser%{so_ver} = %{version} Requires: glibc-devel +Requires: liburiparser%{so_ver} = %{version} Provides: liburiparser-devel = %{version}-%{release} Obsoletes: liburiparser-devel < %{version}-%{release} @@ -76,36 +82,37 @@ %build autoreconf -fiv -%configure --disable-static --disable-test --docdir=%{_docdir}/%{name}-devel +%configure \ + --disable-static \ +%if %{without cpptest} + --disable-test \ +%endif + --docdir=%{_docdir}/%{name}-devel make %{?_smp_mflags} %install %make_install -rm -f %{buildroot}%{_libdir}/*.la +find %{buildroot} -type f -name "*.la" -delete -print # Currently documentation is useless - revisit at later date rm -rf %{buildroot}%{_docdir}/%{name}-devel/html %check export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) -make check +make %{?_smp_mflags} check unset MALLOC_CHECK_ MALLOC_PERTURB_ %post -n liburiparser%{so_ver} -p /sbin/ldconfig - %postun -n liburiparser%{so_ver} -p /sbin/ldconfig %files -%defattr(-,root,root) %license COPYING %{_bindir}/uriparse %files -n liburiparser%{so_ver} -%defattr(-,root,root) %{_libdir}/liburiparser.so.%{so_ver} %{_libdir}/liburiparser.so.%{so_ver}.* %files devel -%defattr(-,root,root) %license COPYING %doc ChangeLog README.md THANKS TODO.txt GOALS.txt AUTHORS %dir %{_includedir}/%{name}
participants (1)
-
root@hilbert.suse.de