Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package uriparser for openSUSE:Factory checked in at 2026-07-09 22:21:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/uriparser (Old) and /work/SRC/openSUSE:Factory/.uriparser.new.1991 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "uriparser" Thu Jul 9 22:21:41 2026 rev:17 rq:1364746 version:1.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/uriparser/uriparser.changes 2026-06-17 16:19:26.901897877 +0200 +++ /work/SRC/openSUSE:Factory/.uriparser.new.1991/uriparser.changes 2026-07-09 22:22:53.449321957 +0200 @@ -1,0 +2,8 @@ +Thu Jul 9 13:26:28 UTC 2026 - Petr Gajdos <[email protected]> + +- doc builds via multibuild + (https://build.opensuse.org/request/show/1364334) +- added sources + * _multibuild + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ uriparser.spec ++++++ --- /var/tmp/diff_new_pack.3b8RRz/_old 2026-07-09 22:22:53.933338762 +0200 +++ /var/tmp/diff_new_pack.3b8RRz/_new 2026-07-09 22:22:53.937338900 +0200 @@ -16,6 +16,13 @@ # +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "doc" +%define psuffix -doc +%else +%define psuffix %{nil} +%endif + %if 0%{?suse_version} >= 1500 %bcond_without googletest %else @@ -23,37 +30,49 @@ %endif %define so_ver 1 -Name: uriparser +Name: uriparser%{psuffix} Version: 1.0.2 Release: 0 +%if "%{flavor}" == "doc" +Summary: Documentation files for the uriparser URI parsing library +License: BSD-3-Clause +Group: Documentation/Other +%else Summary: A strictly RFC 3986 compliant URI parsing library License: Apache-2.0 AND BSD-3-Clause AND LGPL-2.1-or-later Group: Development/Libraries/C and C++ +%endif URL: https://uriparser.github.io Source: https://github.com/uriparser/uriparser/releases/download/uriparser-%{version}/uriparser-%{version}.tar.xz Patch1: cmake_fixes.patch Source1: baselibs.conf BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: xz +%if "%{flavor}" == "doc" BuildRequires: doxygen BuildRequires: fdupes -BuildRequires: gcc-c++ BuildRequires: ghostscript-fonts-std BuildRequires: graphviz BuildRequires: graphviz-gd -BuildRequires: pkg-config BuildRequires: qt6-tools -BuildRequires: xz BuildRequires: pkgconfig(libxdot) +%else +BuildRequires: pkg-config %if %{with googletest} BuildRequires: gtest >= 1.8.1 %endif Provides: uriparse = %{version}-%{release} Obsoletes: uriparse < %{version}-%{release} +%endif %description uriparser is a strictly RFC 3986 compliant URI parsing library and supports Unicode. +%if "%{flavor}" == "doc" +This package contains the documentation for uriparser. +%else There is a command line tool, uriparse, which allows parsing URIs and show how the liburiparser splits it into components. @@ -83,33 +102,27 @@ This subpackage contains the headers and other developments files needed to build packagesfor that depend on %{name}. - -%package doc -Summary: Documentation files for the uriparser URI parsing library -License: BSD-3-Clause -Group: Documentation/Other - -%description doc -uriparser is a strictly RFC 3986 compliant URI parsing library -and supports Unicode. - -This subpackage contains the documentation for %{name}. +%endif %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 -n uriparser-%{version} %build %cmake \ - -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/%{name} \ + -DCMAKE_INSTALL_DOCDIR:PATH=%{_docdir}/uriparser \ -DCMAKE_CXX_STANDARD=17 \ -DBUILD_SHARED_LIBS:BOOL=ON \ -DURIPARSER_BUILD_CHAR:BOOL=ON \ +%if "%{flavor}" == "doc" -DURIPARSER_BUILD_DOCS:BOOL=ON \ +%else + -DURIPARSER_BUILD_DOCS:BOOL=OFF \ %if %{with googletest} -DURIPARSER_BUILD_TESTS:BOOL=ON \ %else -DURIPARSER_BUILD_TESTS:BOOL=OFF \ %endif +%endif -DURIPARSER_BUILD_TOOLS:BOOL=ON \ -DURIPARSER_BUILD_WCHAR:BOOL=ON \ -DQHG_LOCATION:PATH=%{_libexecdir}/qt6/qhelpgenerator @@ -117,8 +130,16 @@ %install %cmake_install -%fdupes %{buildroot}%{_docdir}/%{name}/html/ +%if "%{flavor}" == "doc" +rm -rf %{buildroot}%{_bindir} +rm -rf %{buildroot}%{_libdir} +rm -rf %{buildroot}%{_includedir} +%fdupes %{buildroot}%{_docdir}/uriparser/html/ +%else +rm -rf %{buildroot}%{_docdir}/uriparser +%endif +%if "%{flavor}" != "doc" %if %{with googletest} %check export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256)) @@ -128,6 +149,16 @@ %post -n liburiparser%{so_ver} -p /sbin/ldconfig %postun -n liburiparser%{so_ver} -p /sbin/ldconfig +%endif + +%if "%{flavor}" == "doc" +%files +%license COPYING.BSD-3-Clause +%doc doc/Mainpage.txt +%dir %{_docdir}/uriparser/ +%{_docdir}/uriparser/html/ +%{_docdir}/uriparser/uriparser-%{version}-doc.qch +%else %files %license COPYING.BSD-3-Clause @@ -141,15 +172,9 @@ %files devel %license COPYING.BSD-3-Clause %doc ChangeLog THANKS AUTHORS -%{_includedir}/%{name}/ +%{_includedir}/uriparser/ %{_libdir}/liburiparser.so %{_libdir}/cmake/uriparser-%{version}/ %{_libdir}/pkgconfig/liburiparser.pc - -%files doc -%license COPYING.BSD-3-Clause -%doc doc/Mainpage.txt -%dir %{_docdir}/%{name}/ -%{_docdir}/%{name}/html/ -%{_docdir}/%{name}/%{name}-%{version}-doc.qch +%endif ++++++ _multibuild ++++++ <multibuild> <package>doc</package> </multibuild> ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.3b8RRz/_old 2026-07-09 22:22:53.997340984 +0200 +++ /var/tmp/diff_new_pack.3b8RRz/_new 2026-07-09 22:22:54.001341122 +0200 @@ -1,5 +1,5 @@ -mtime: 1781623378 -commit: 0f3321c782b254586078a32601447a2f382466e59ae39a55042435eb043f71cc +mtime: 1783603748 +commit: 47d850a9d09489b9a3b6647d9a4a0389f6188cd4bbfc0869dbac4eae9f1eef5c url: https://src.opensuse.org/c_cpp/uriparser revision: main ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-07-09 15:29:08.000000000 +0200 @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild
