From bb2081a4a75d76a2d7f5ddce7a0f55424e26c5a7 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 7 Jan 2022 10:02:57 +0100 Subject: [PATCH 01/26] Remove unused patches --- uriparser_buildtests.patch | 11 ----------- uriparser_isystem.patch | 13 ------------- 2 files changed, 24 deletions(-) delete mode 100644 uriparser_buildtests.patch delete mode 100644 uriparser_isystem.patch diff --git a/uriparser_buildtests.patch b/uriparser_buildtests.patch deleted file mode 100644 index 58d955f..0000000 --- a/uriparser_buildtests.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rupN --no-dereference uriparser-0.9.5/CMakeLists.txt uriparser-0.9.5-new/CMakeLists.txt ---- uriparser-0.9.5/CMakeLists.txt 2021-03-18 17:35:29.000000000 +0100 -+++ uriparser-0.9.5-new/CMakeLists.txt 2021-07-24 13:45:23.023102634 +0200 -@@ -283,6 +283,7 @@ if(URIPARSER_BUILD_TESTS) - ${LIBRARY_CODE_FILES} - ) - -+ set_property(TARGET testrunner PROPERTY POSITION_INDEPENDENT_CODE TRUE) - target_compile_definitions(testrunner PRIVATE URI_STATIC_BUILD) - - if(MSVC) diff --git a/uriparser_isystem.patch b/uriparser_isystem.patch deleted file mode 100644 index b1b6c78..0000000 --- a/uriparser_isystem.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -rupN --no-dereference uriparser-0.9.5/CMakeLists.txt uriparser-0.9.5-new/CMakeLists.txt ---- uriparser-0.9.5/CMakeLists.txt 2021-07-24 13:45:23.032102663 +0200 -+++ uriparser-0.9.5-new/CMakeLists.txt 2021-07-24 13:45:23.035102673 +0200 -@@ -36,6 +36,9 @@ - # - cmake_minimum_required(VERSION 3.3) - -+set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES /usr/include) -+set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES /usr/include) -+ - project(uriparser - VERSION - 0.9.5 From a7e05239c31b2ef44bc497cc5455651c28fd9b83 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 03:37:31 +0000 Subject: [PATCH 02/26] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index 6b6eddc..59d5e46 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -2,7 +2,7 @@ Name: uriparser Version: 0.9.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -77,6 +77,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.9.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jan 07 2022 Sandro Mani - 0.9.6-1 - Update to 0.9.6 From face10b9c3ec5ded54c0f7d8e2e0767f2c1c8191 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 24 Feb 2022 10:57:36 +0100 Subject: [PATCH 03/26] Add mingw subpackages --- uriparser-inet-ntop.patch | 14 +++++++++ uriparser.spec | 61 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 72 insertions(+), 3 deletions(-) create mode 100644 uriparser-inet-ntop.patch diff --git a/uriparser-inet-ntop.patch b/uriparser-inet-ntop.patch new file mode 100644 index 0000000..d298963 --- /dev/null +++ b/uriparser-inet-ntop.patch @@ -0,0 +1,14 @@ +diff -rupN --no-dereference uriparser-0.9.6/tool/uriparse.c uriparser-0.9.6-new/tool/uriparse.c +--- uriparser-0.9.6/tool/uriparse.c 2022-01-06 19:01:11.000000000 +0100 ++++ uriparser-0.9.6-new/tool/uriparse.c 2022-01-07 10:22:25.506474914 +0100 +@@ -43,10 +43,6 @@ + #ifdef _WIN32 + # include + # include +-# ifdef __MINGW32__ +-WINSOCK_API_LINKAGE const char * WSAAPI inet_ntop( +- int af, const void *src, char *dst, socklen_t size); +-# endif + #else + # include + # include diff --git a/uriparser.spec b/uriparser.spec index 59d5e46..b3eed53 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,13 +1,13 @@ -%undefine __cmake_in_source_build - Name: uriparser Version: 0.9.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: URI parsing library - RFC 3986 License: BSD URL: https://uriparser.github.io/ Source0: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 +# Don't add separate conflicting declaration for inet_ntop +Patch0: uriparser-inet-ntop.patch BuildRequires: cmake BuildRequires: doxygen @@ -16,6 +16,13 @@ BuildRequires: graphviz BuildRequires: gtest-devel BuildRequires: make +BuildRequires: mingw32-filesystem >= 95 +BuildRequires: mingw32-gcc-c++ + +BuildRequires: mingw64-filesystem >= 95 +BuildRequires: mingw64-gcc-c++ + + %description Uriparser is a strictly RFC 3986 compliant URI parsing library written in C. uriparser is cross-platform, fast, supports Unicode and is @@ -39,6 +46,24 @@ BuildArch: noarch The %{name}-doc package contains HTML documentation files for %{name}. +%package -n mingw32-%{name} +Summary: MinGW Windows %{name} library + +%description -n mingw32-%{name} +MinGW Windows %{name} library. + + +%package -n mingw64-%{name} +Summary: MinGW Windows %{name} library + +%description -n mingw64-%{name} +MinGW Windows %{name} library. + + +%{?mingw_debug_package} + + + %prep %autosetup -p1 @@ -47,12 +72,21 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %build +# Native build %cmake %cmake_build +# MinGW build +%mingw_cmake -DURIPARSER_BUILD_TESTS=OFF -DURIPARSER_BUILD_DOCS=OFF +%mingw_make_build + %install %cmake_install +%mingw_make_install + + +%mingw_debug_install_post %check @@ -75,8 +109,29 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %license COPYING %doc %{_docdir}/%{name}/html +%files -n mingw32-%{name} +%license COPYING +%{mingw32_bindir}/uriparse.exe +%{mingw32_bindir}/lib%{name}-1.dll +%{mingw32_includedir}/%{name}/ +%{mingw32_libdir}/lib%{name}.dll.a +%{mingw32_libdir}/pkgconfig/lib%{name}.pc +%{mingw32_libdir}/cmake/%{name}-%{version}/ + +%files -n mingw64-%{name} +%license COPYING +%{mingw64_bindir}/uriparse.exe +%{mingw64_includedir}/%{name}/ +%{mingw64_bindir}/lib%{name}-1.dll +%{mingw64_libdir}/lib%{name}.dll.a +%{mingw64_libdir}/pkgconfig/lib%{name}.pc +%{mingw64_libdir}/cmake/%{name}-%{version}/ + %changelog +* Thu Feb 24 2022 Sandro Mani - 0.9.6-1 +- Add mingw subpackages + * Sat Jan 22 2022 Fedora Release Engineering - 0.9.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From b27ef8b2d73f41238e216534bc02c328f3029e73 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 24 Feb 2022 20:00:42 +0100 Subject: [PATCH 04/26] Make mingw subpackages noarch --- uriparser.spec | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/uriparser.spec b/uriparser.spec index b3eed53..4fc98e8 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,6 +1,6 @@ Name: uriparser Version: 0.9.6 -Release: 3%{?dist} +Release: 4%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -47,14 +47,16 @@ The %{name}-doc package contains HTML documentation files for %{name}. %package -n mingw32-%{name} -Summary: MinGW Windows %{name} library +Summary: MinGW Windows %{name} library +BuildArch: noarch %description -n mingw32-%{name} MinGW Windows %{name} library. %package -n mingw64-%{name} -Summary: MinGW Windows %{name} library +Summary: MinGW Windows %{name} library +BuildArch: noarch %description -n mingw64-%{name} MinGW Windows %{name} library. @@ -129,6 +131,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Thu Feb 24 2022 Sandro Mani - 0.9.6-4 +- Make mingw subpackages noarch + * Thu Feb 24 2022 Sandro Mani - 0.9.6-1 - Add mingw subpackages From 67b28355e34fe16c4abc94a5cb1b689c52f3947f Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 25 Mar 2022 15:00:08 +0100 Subject: [PATCH 05/26] Rebuild with mingw-gcc-12 --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index 4fc98e8..4ef9198 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,6 +1,6 @@ Name: uriparser Version: 0.9.6 -Release: 4%{?dist} +Release: 5%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -131,6 +131,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Fri Mar 25 2022 Sandro Mani - 0.9.6-5 +- Rebuild with mingw-gcc-12 + * Thu Feb 24 2022 Sandro Mani - 0.9.6-4 - Make mingw subpackages noarch From c67feaba88acce7c0f4bf4531cf8ede599f739da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 11:30:23 +0000 Subject: [PATCH 06/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index 4ef9198..322691d 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,6 +1,6 @@ Name: uriparser Version: 0.9.6 -Release: 5%{?dist} +Release: 6%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -131,6 +131,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.9.6-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Fri Mar 25 2022 Sandro Mani - 0.9.6-5 - Rebuild with mingw-gcc-12 From 0a4bc85c6c187b443b4df7045457df84b984af66 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Fri, 7 Oct 2022 11:18:21 +0200 Subject: [PATCH 07/26] Update to 0.9.7 --- .gitignore | 1 + sources | 2 +- uriparser.spec | 9 +++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2cc1f7f..a163657 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ uriparser-0.7.5.tar.gz /uriparser-0.9.4.tar.bz2 /uriparser-0.9.5.tar.bz2 /uriparser-0.9.6.tar.bz2 +/uriparser-0.9.7.tar.bz2 diff --git a/sources b/sources index a5dcf7d..1b9fbcc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uriparser-0.9.6.tar.bz2) = c021ab3f93cc0373c9244edafff042c3d73a3904d69e573c277b04ca4a49cd2e88255214599cf433088b32846c9a628dfb116025188a6bb61a40c236827799aa +SHA512 (uriparser-0.9.7.tar.bz2) = 7f69c9806665745c1bafe11f818434e27c2da03af387f009ef46c1427af8c008faa45e6f49bece66e0b96fd17b3924ba0af25476e796972c5e4b651f35f74c13 diff --git a/uriparser.spec b/uriparser.spec index 322691d..cf3e06b 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,13 +1,11 @@ Name: uriparser -Version: 0.9.6 -Release: 6%{?dist} +Version: 0.9.7 +Release: 1%{?dist} Summary: URI parsing library - RFC 3986 License: BSD URL: https://uriparser.github.io/ Source0: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 -# Don't add separate conflicting declaration for inet_ntop -Patch0: uriparser-inet-ntop.patch BuildRequires: cmake BuildRequires: doxygen @@ -131,6 +129,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Fri Oct 07 2022 Sandro Mani - 0.9.7-1 +- Update to 0.9.7 + * Sat Jul 23 2022 Fedora Release Engineering - 0.9.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From e80e2a021cffb05c1c771027090c48ab2bc15850 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 11 Jan 2023 19:52:47 +0100 Subject: [PATCH 08/26] Make mingw build conditional --- uriparser.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/uriparser.spec b/uriparser.spec index cf3e06b..f6440bf 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,3 +1,9 @@ +%if 0%{?fedora} +%bcond_without mingw +%else +%bcond_with mingw +%endif + Name: uriparser Version: 0.9.7 Release: 1%{?dist} @@ -14,11 +20,13 @@ BuildRequires: graphviz BuildRequires: gtest-devel BuildRequires: make +%if %{with mingw} BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-gcc-c++ BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-gcc-c++ +%endif %description @@ -44,6 +52,7 @@ BuildArch: noarch The %{name}-doc package contains HTML documentation files for %{name}. +%if %{with mingw} %package -n mingw32-%{name} Summary: MinGW Windows %{name} library BuildArch: noarch @@ -61,7 +70,7 @@ MinGW Windows %{name} library. %{?mingw_debug_package} - +%endif %prep @@ -76,17 +85,19 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %cmake %cmake_build +%if %{with mingw} # MinGW build %mingw_cmake -DURIPARSER_BUILD_TESTS=OFF -DURIPARSER_BUILD_DOCS=OFF %mingw_make_build +%endif %install %cmake_install +%if %{with mingw} %mingw_make_install - - %mingw_debug_install_post +%endif %check @@ -109,6 +120,7 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %license COPYING %doc %{_docdir}/%{name}/html +%if %{with mingw} %files -n mingw32-%{name} %license COPYING %{mingw32_bindir}/uriparse.exe @@ -126,6 +138,7 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %{mingw64_libdir}/lib%{name}.dll.a %{mingw64_libdir}/pkgconfig/lib%{name}.pc %{mingw64_libdir}/cmake/%{name}-%{version}/ +%endif %changelog From ee2451431b72b2b4dbfa15f6be43d6338ab635ef Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Wed, 11 Jan 2023 20:00:08 +0100 Subject: [PATCH 09/26] Enable mingw build on epel9 --- uriparser.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index f6440bf..b5ef6c2 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?epel} >= 9 %bcond_without mingw %else %bcond_with mingw From 0013b1cd2937cb269c567cc497fe83eb59256b94 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 05:55:33 +0000 Subject: [PATCH 10/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index b5ef6c2..f3a651d 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 0.9.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -142,6 +142,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.9.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Oct 07 2022 Sandro Mani - 0.9.7-1 - Update to 0.9.7 From 78c87878c4d7edb0340bb60e0eb4ea294faf6ea6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:13:33 +0000 Subject: [PATCH 11/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index f3a651d..25271be 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 0.9.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -142,6 +142,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.9.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 0.9.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 1b07302bfc80983fbf84283783370e8338d36429 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 19 Jan 2024 09:17:23 -0500 Subject: [PATCH 12/26] Move cmake files to the devel subpackage --- uriparser.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/uriparser.spec b/uriparser.spec index 25271be..3dfad95 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 0.9.7 -Release: 3%{?dist} +Release: 4%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -109,11 +109,11 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %license COPYING %{_bindir}/uriparse %{_libdir}/lib%{name}.so.1* -%{_libdir}/cmake/%{name}-%{version}/ %files devel %{_includedir}/%{name}/ %{_libdir}/lib%{name}.so +%{_libdir}/cmake/%{name}-%{version}/ %{_libdir}/pkgconfig/lib%{name}.pc %files doc @@ -142,6 +142,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Fri Jan 19 2024 Neal Gompa - 0.9.7-4 +- Move cmake files to the devel subpackage + * Sat Jul 22 2023 Fedora Release Engineering - 0.9.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From fdee20044f71fbc70f76746ae22ad1e4c7c42413 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:13:29 +0000 Subject: [PATCH 13/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index 3dfad95..4252474 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 0.9.7 -Release: 4%{?dist} +Release: 5%{?dist} Summary: URI parsing library - RFC 3986 License: BSD @@ -142,6 +142,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.9.7-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Neal Gompa - 0.9.7-4 - Move cmake files to the devel subpackage From 2080e738376000b8f832b414cc7fa51db6f26e6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Mon, 12 Feb 2024 07:23:47 +0000 Subject: [PATCH 14/26] Migrate to SPDX license This is a part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_3 --- uriparser.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index 4252474..ebec5f3 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -9,7 +9,9 @@ Version: 0.9.7 Release: 5%{?dist} Summary: URI parsing library - RFC 3986 -License: BSD +# /test/ is under LGPL-2.1-or-later but not included in RPM +# /doc/rfc* are under LicenseRef-scancode-iso-8879, LicenseRef-scancode-ietf, LicenseRef-scancode-ietf-trust but not included in RPM +License: BSD-3-Clause URL: https://uriparser.github.io/ Source0: https://github.com/%{name}/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 From 470a448e731f0c8c2afd348b8d7c6e987134baa1 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Sun, 5 May 2024 20:15:36 +0200 Subject: [PATCH 15/26] Update to 0.9.8 --- .gitignore | 1 + sources | 2 +- uriparser.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a163657..956e7e7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ uriparser-0.7.5.tar.gz /uriparser-0.9.5.tar.bz2 /uriparser-0.9.6.tar.bz2 /uriparser-0.9.7.tar.bz2 +/uriparser-0.9.8.tar.bz2 diff --git a/sources b/sources index 1b9fbcc..14e021f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uriparser-0.9.7.tar.bz2) = 7f69c9806665745c1bafe11f818434e27c2da03af387f009ef46c1427af8c008faa45e6f49bece66e0b96fd17b3924ba0af25476e796972c5e4b651f35f74c13 +SHA512 (uriparser-0.9.8.tar.bz2) = 41377e27f92345442cafa4e443485808c286430fcb5ce2354a683344e744786a170f443425f304bdb5a152edf96a3412f203eabe4fb3345a369e6d69f3d97e40 diff --git a/uriparser.spec b/uriparser.spec index ebec5f3..c999171 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -5,8 +5,8 @@ %endif Name: uriparser -Version: 0.9.7 -Release: 5%{?dist} +Version: 0.9.8 +Release: 1%{?dist} Summary: URI parsing library - RFC 3986 # /test/ is under LGPL-2.1-or-later but not included in RPM @@ -144,6 +144,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sun May 05 2024 Sandro Mani - 0.9.8-1 +- Update to 0.9.8 + * Sat Jan 27 2024 Fedora Release Engineering - 0.9.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From cbfea91a10b0c31eb119df6416c5ed0e7ea7dba6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:22:35 +0000 Subject: [PATCH 16/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index c999171..d7bd475 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 0.9.8 -Release: 1%{?dist} +Release: 2%{?dist} Summary: URI parsing library - RFC 3986 # /test/ is under LGPL-2.1-or-later but not included in RPM @@ -144,6 +144,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.9.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sun May 05 2024 Sandro Mani - 0.9.8-1 - Update to 0.9.8 From 5421a84a3fb96dd903167b6e2e9e06ae15c155ed Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 13:53:19 +0000 Subject: [PATCH 17/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index d7bd475..c444304 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 0.9.8 -Release: 2%{?dist} +Release: 3%{?dist} Summary: URI parsing library - RFC 3986 # /test/ is under LGPL-2.1-or-later but not included in RPM @@ -144,6 +144,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.9.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 0.9.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From c796a9c67606379a7ce40b47b19ccc233ffd13df Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:51:02 +0000 Subject: [PATCH 18/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index c444304..a7ee6b6 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 0.9.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: URI parsing library - RFC 3986 # /test/ is under LGPL-2.1-or-later but not included in RPM @@ -144,6 +144,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.9.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 0.9.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From e803d54255ff46df80c4ec829efbbf42afca2a1c Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 4 Sep 2025 08:55:54 +0200 Subject: [PATCH 19/26] Update to 0.9.9 --- .gitignore | 1 + sources | 2 +- uriparser.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 956e7e7..7a09541 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ uriparser-0.7.5.tar.gz /uriparser-0.9.6.tar.bz2 /uriparser-0.9.7.tar.bz2 /uriparser-0.9.8.tar.bz2 +/uriparser-0.9.9.tar.bz2 diff --git a/sources b/sources index 14e021f..c4b1ef5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uriparser-0.9.8.tar.bz2) = 41377e27f92345442cafa4e443485808c286430fcb5ce2354a683344e744786a170f443425f304bdb5a152edf96a3412f203eabe4fb3345a369e6d69f3d97e40 +SHA512 (uriparser-0.9.9.tar.bz2) = 1c4ac63e7a872fdc7ce84ee5e8736dcafe58242b80218a3457bdcd1b358bfec5437658e2ad99427c6d94b14b30c7f7c3d059b9d106cd1a7149adf23e77072de6 diff --git a/uriparser.spec b/uriparser.spec index a7ee6b6..9e4efe6 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -5,8 +5,8 @@ %endif Name: uriparser -Version: 0.9.8 -Release: 4%{?dist} +Version: 0.9.9 +Release: 1%{?dist} Summary: URI parsing library - RFC 3986 # /test/ is under LGPL-2.1-or-later but not included in RPM @@ -144,6 +144,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Thu Sep 04 2025 Sandro Mani - 0.9.9-1 +- Update to 0.9.9 + * Fri Jul 25 2025 Fedora Release Engineering - 0.9.8-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From e135e2ae8d7b7ef460c30484dd9a6ab430215953 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 4 Sep 2025 09:19:08 +0200 Subject: [PATCH 20/26] Adapt license filename --- uriparser.spec | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/uriparser.spec b/uriparser.spec index 9e4efe6..1f36a56 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -9,7 +9,9 @@ Version: 0.9.9 Release: 1%{?dist} Summary: URI parsing library - RFC 3986 -# /test/ is under LGPL-2.1-or-later but not included in RPM +# main license is BSD-3-Clause +# test suite is licensed under the LGPL-2.1-or-later, but it is not included in the binary RPM +# fuzzing code is licensed under the Apache-2.0 license, but it is not included in the binary RPM # /doc/rfc* are under LicenseRef-scancode-iso-8879, LicenseRef-scancode-ietf, LicenseRef-scancode-ietf-trust but not included in RPM License: BSD-3-Clause URL: https://uriparser.github.io/ @@ -108,7 +110,7 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %files %doc THANKS AUTHORS ChangeLog -%license COPYING +%license COPYING.BSD-3-Clause %{_bindir}/uriparse %{_libdir}/lib%{name}.so.1* @@ -119,12 +121,12 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %{_libdir}/pkgconfig/lib%{name}.pc %files doc -%license COPYING +%license COPYING.BSD-3-Clause %doc %{_docdir}/%{name}/html %if %{with mingw} %files -n mingw32-%{name} -%license COPYING +%license COPYING.BSD-3-Clause %{mingw32_bindir}/uriparse.exe %{mingw32_bindir}/lib%{name}-1.dll %{mingw32_includedir}/%{name}/ @@ -133,7 +135,7 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %{mingw32_libdir}/cmake/%{name}-%{version}/ %files -n mingw64-%{name} -%license COPYING +%license COPYING.BSD-3-Clause %{mingw64_bindir}/uriparse.exe %{mingw64_includedir}/%{name}/ %{mingw64_bindir}/lib%{name}-1.dll From bae243e2ee1a02ae068842ff6e760673148af5c2 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 4 Sep 2025 09:19:49 +0200 Subject: [PATCH 21/26] Drop unused patch --- uriparser-inet-ntop.patch | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 uriparser-inet-ntop.patch diff --git a/uriparser-inet-ntop.patch b/uriparser-inet-ntop.patch deleted file mode 100644 index d298963..0000000 --- a/uriparser-inet-ntop.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -rupN --no-dereference uriparser-0.9.6/tool/uriparse.c uriparser-0.9.6-new/tool/uriparse.c ---- uriparser-0.9.6/tool/uriparse.c 2022-01-06 19:01:11.000000000 +0100 -+++ uriparser-0.9.6-new/tool/uriparse.c 2022-01-07 10:22:25.506474914 +0100 -@@ -43,10 +43,6 @@ - #ifdef _WIN32 - # include - # include --# ifdef __MINGW32__ --WINSOCK_API_LINKAGE const char * WSAAPI inet_ntop( -- int af, const void *src, char *dst, socklen_t size); --# endif - #else - # include - # include From 0690b72ce05fa74f1c4f36a5f137fbf7402284ab Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 15 Dec 2025 21:39:26 +0100 Subject: [PATCH 22/26] Update to 1.0.0 --- .gitignore | 1 + sources | 2 +- uriparser.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7a09541..1170253 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ uriparser-0.7.5.tar.gz /uriparser-0.9.7.tar.bz2 /uriparser-0.9.8.tar.bz2 /uriparser-0.9.9.tar.bz2 +/uriparser-1.0.0.tar.bz2 diff --git a/sources b/sources index c4b1ef5..89b5bfa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uriparser-0.9.9.tar.bz2) = 1c4ac63e7a872fdc7ce84ee5e8736dcafe58242b80218a3457bdcd1b358bfec5437658e2ad99427c6d94b14b30c7f7c3d059b9d106cd1a7149adf23e77072de6 +SHA512 (uriparser-1.0.0.tar.bz2) = 4fd4dac885d029523537c999774a9c1df45f3adb4fb0dd3353f19f96bcf5965ce5229a108bcd6b208eb9f2946936a7fa4229b39a0af2a8ee8248c0dafc4bded0 diff --git a/uriparser.spec b/uriparser.spec index 1f36a56..411f11a 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -5,7 +5,7 @@ %endif Name: uriparser -Version: 0.9.9 +Version: 1.0.0 Release: 1%{?dist} Summary: URI parsing library - RFC 3986 @@ -146,6 +146,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Mon Dec 15 2025 Sandro Mani - 1.0.0-1 +- Update to 1.0.0 + * Thu Sep 04 2025 Sandro Mani - 0.9.9-1 - Update to 0.9.9 From 6ba7bd00a91971bf3a65ddbc61ea21f4127a2531 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:40:17 +0000 Subject: [PATCH 23/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index 411f11a..2014d41 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: URI parsing library - RFC 3986 # main license is BSD-3-Clause @@ -146,6 +146,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Mon Dec 15 2025 Sandro Mani - 1.0.0-1 - Update to 1.0.0 From 6a39b1071e4cd1dfdb4594e78ff6ae10e4ea0a55 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 30 Apr 2026 14:34:34 +0200 Subject: [PATCH 24/26] Update to 1.0.1 --- .gitignore | 1 + sources | 2 +- uriparser.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1170253..1b16eb7 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,4 @@ uriparser-0.7.5.tar.gz /uriparser-0.9.8.tar.bz2 /uriparser-0.9.9.tar.bz2 /uriparser-1.0.0.tar.bz2 +/uriparser-1.0.1.tar.bz2 diff --git a/sources b/sources index 89b5bfa..a4d9433 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uriparser-1.0.0.tar.bz2) = 4fd4dac885d029523537c999774a9c1df45f3adb4fb0dd3353f19f96bcf5965ce5229a108bcd6b208eb9f2946936a7fa4229b39a0af2a8ee8248c0dafc4bded0 +SHA512 (uriparser-1.0.1.tar.bz2) = 643e51db925c2865fd69f2b64f0791cd482f88decb946432b2de1dbba046e9fae5a10b041f1e9b9f427eabbf38871c8c87051cb648be5a33267e3b4153e07fce diff --git a/uriparser.spec b/uriparser.spec index 2014d41..8a40994 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -5,8 +5,8 @@ %endif Name: uriparser -Version: 1.0.0 -Release: 2%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: URI parsing library - RFC 3986 # main license is BSD-3-Clause @@ -146,6 +146,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Thu Apr 30 2026 Sandro Mani - 1.0.1-1 +- Update to 1.0.1 + * Sat Jan 17 2026 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From c45f69cfb1e810f302a107b79a59a583a54341c0 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 11 May 2026 11:49:44 +0200 Subject: [PATCH 25/26] Update to 1.0.2 --- .gitignore | 1 + sources | 2 +- uriparser.spec | 5 ++++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 1b16eb7..08f7661 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,4 @@ uriparser-0.7.5.tar.gz /uriparser-0.9.9.tar.bz2 /uriparser-1.0.0.tar.bz2 /uriparser-1.0.1.tar.bz2 +/uriparser-1.0.2.tar.bz2 diff --git a/sources b/sources index a4d9433..1622297 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (uriparser-1.0.1.tar.bz2) = 643e51db925c2865fd69f2b64f0791cd482f88decb946432b2de1dbba046e9fae5a10b041f1e9b9f427eabbf38871c8c87051cb648be5a33267e3b4153e07fce +SHA512 (uriparser-1.0.2.tar.bz2) = 23cf062e10b70e3cababbbb52e20a7e3ca17ae2cba21125ab0587a3dbee562d12d727703567ce14cba90151712f2c4c9e911eda92245292ea3a1138f88dd09fd diff --git a/uriparser.spec b/uriparser.spec index 8a40994..cebafd7 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -5,7 +5,7 @@ %endif Name: uriparser -Version: 1.0.1 +Version: 1.0.2 Release: 1%{?dist} Summary: URI parsing library - RFC 3986 @@ -146,6 +146,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Mon May 11 2026 Sandro Mani - 1.0.2-1 +- Update to 1.0.2 + * Thu Apr 30 2026 Sandro Mani - 1.0.1-1 - Update to 1.0.1 From 8b899f28ca1183f29e66f7724d4a23d2ca62a538 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:14:54 +0000 Subject: [PATCH 26/26] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- uriparser.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/uriparser.spec b/uriparser.spec index cebafd7..86fc7ee 100644 --- a/uriparser.spec +++ b/uriparser.spec @@ -6,7 +6,7 @@ Name: uriparser Version: 1.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: URI parsing library - RFC 3986 # main license is BSD-3-Clause @@ -146,6 +146,9 @@ sed -i 's/GENERATE_QHP\ =\ yes/GENERATE_QHP\ =\ no/g' doc/Doxyfile.in %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Mon May 11 2026 Sandro Mani - 1.0.2-1 - Update to 1.0.2