From 7186e11c0d342cb7bddfb60ae03f5b6d04ffbc2d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 05:20:32 +0000 Subject: [PATCH 01/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index c18908e..688045c 100644 --- a/zipper.spec +++ b/zipper.spec @@ -6,7 +6,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 0.9.1 -Release: 6.%{date}git%{shortcommit}%{?dist} +Release: 7.%{date}git%{shortcommit}%{?dist} URL: https://github.com/fbergmann/zipper ## Source archive from github obtained by @@ -96,6 +96,9 @@ make test -C build %{_libdir}/*-static.a %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.9.1-7.20170831giteee877a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 0.9.1-6.20170831giteee877a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 54440c262a3ce6b27b601c4b7f8d4fad5d533d1c Mon Sep 17 00:00:00 2001 From: sagitter Date: Fri, 15 May 2020 15:37:51 +0200 Subject: [PATCH 02/22] Release 1.0.1 --- .gitignore | 1 + sources | 2 +- zipper.spec | 28 +++++++++++++--------------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index b9266a3..d653d5f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /zipper-20170831giteee877ac7419eb08ecafd110d9187bc10bea483a.tar.gz +/zipper-1.0.1.tar.gz diff --git a/sources b/sources index 4a57e06..8b82167 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zipper-20170831giteee877ac7419eb08ecafd110d9187bc10bea483a.tar.gz) = a4be44cfbf580901a9af08117cb0479dca00a4b733ee26253aea77e4c9e8e5f13be0953aaf0be1d72ac1fa131cd5e87ca1a70fcf77f9cdaf128ace05e4df4eaa +SHA512 (zipper-1.0.1.tar.gz) = 1ec4883bd5052bae31c4ce055a07fed0c142cbc41e5ce2807a924883e2694750d31dbea0f0a5560cf723afa1c95ce162277072fa66e041699d7f00759b7f69b3 diff --git a/zipper.spec b/zipper.spec index 688045c..b144bf5 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,20 +1,15 @@ -%global commit eee877ac7419eb08ecafd110d9187bc10bea483a -%global date 20170831 - -%global shortcommit %(c=%{commit}; echo ${c:0:7}) - Name: zipper Summary: C++ wrapper around minizip compression library -Version: 0.9.1 -Release: 7.%{date}git%{shortcommit}%{?dist} -URL: https://github.com/fbergmann/zipper +Version: 1.0.1 +Release: 1%{?dist} +URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by ## git clone --recursive https://github.com/sebastiandev/zipper.git -## rm -rf zipper/.git -## tar -czvf zipper-%%{date}git%%{commit}.tar.gz zipper - -Source0: zipper-%{date}git%{commit}.tar.gz +## git checkout e9f150516cb55d194b5e01d21a9527783e98311d (release 1.0.1) +## rm -rf zipper/.git* +## tar -czvf zipper-1.0.1.tar.gz zipper +Source0: https://github.com/sebastiandev/zipper/archive/zipper/%{name}-%{version}.tar.gz # zlib and GPL+ (no version) licenses come from minizip/ source code License: MIT and zlib and GPL+ @@ -25,7 +20,7 @@ BuildRequires: zlib-devel Provides: bundled(minizip) = 1.2.8 %description -Zipper's goal is to bring the power and simplicity of minizip to a more +Zipper brings the power and simplicity of minizip to a more object oriented/c++ user friendly library. It was born out of the necessity of a compression library that would be reliable, simple and flexible. @@ -67,8 +62,8 @@ find ./minizip/ -name '*.c' -exec chmod 0644 '{}' \; %build mkdir -p build && cd build -export CXXFLAGS="%{optflags} -Wl,--as-needed" -%cmake -Wno-cpp \ +export CXXFLAGS="%{optflags}" +%cmake -Wno-cpp -Wno-dev \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_VERSION:BOOL=ON -DBUILD_STATIC_VERSION:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES .. @@ -96,6 +91,9 @@ make test -C build %{_libdir}/*-static.a %changelog +* Sat May 09 2020 Antonio Trande - 1.0.1-1 +- Release 1.0.1 + * Fri Jan 31 2020 Fedora Release Engineering - 0.9.1-7.20170831giteee877a - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 31518adfe2e8281210dea127dcccb58e1ddb2513 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 5 Jul 2020 19:34:56 +0200 Subject: [PATCH 03/22] Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- zipper.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/zipper.spec b/zipper.spec index b144bf5..6326224 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.1 @@ -61,17 +63,16 @@ sed -e 's|DESTINATION lib|DESTINATION %{_lib}|g' -i CMakeLists.txt find ./minizip/ -name '*.c' -exec chmod 0644 '{}' \; %build -mkdir -p build && cd build export CXXFLAGS="%{optflags}" %cmake -Wno-cpp -Wno-dev \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_VERSION:BOOL=ON -DBUILD_STATIC_VERSION:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON \ - -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES .. -%make_build + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES +%cmake_build %install export LIBDIR=%{_libdir} -%make_install -C build +%cmake_install %ldconfig_scriptlets From ffb303d4e98e38aed023fe9e7a8266b853bf2ae3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 15:24:15 +0000 Subject: [PATCH 04/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 6326224..28026a4 100644 --- a/zipper.spec +++ b/zipper.spec @@ -3,7 +3,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -92,6 +92,9 @@ make test -C build %{_libdir}/*-static.a %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sat May 09 2020 Antonio Trande - 1.0.1-1 - Release 1.0.1 From 66706c6edc42ee8626688d9a286d89554b29b8ff Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 09:50:06 +0000 Subject: [PATCH 05/22] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 28026a4..c7d7d98 100644 --- a/zipper.spec +++ b/zipper.spec @@ -3,7 +3,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.1 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -92,6 +92,10 @@ make test -C build %{_libdir}/*-static.a %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 1.0.1-3 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From f59abafbcfab1a3340035650e918daf8b0b301de Mon Sep 17 00:00:00 2001 From: sagitter Date: Sat, 1 Aug 2020 15:25:25 +0200 Subject: [PATCH 06/22] Fix test command --- zipper.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index c7d7d98..6950728 100644 --- a/zipper.spec +++ b/zipper.spec @@ -77,7 +77,7 @@ export LIBDIR=%{_libdir} %ldconfig_scriptlets %check -make test -C build +make test %files %doc README.md VERSION.txt From 1b356c008382d0c5f1b9cec9401e266fe8860ef5 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 01:54:04 +0000 Subject: [PATCH 07/22] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- zipper.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/zipper.spec b/zipper.spec index 6950728..873481d 100644 --- a/zipper.spec +++ b/zipper.spec @@ -16,6 +16,7 @@ Source0: https://github.com/sebastiandev/zipper/archive/zipper/%{name}-%{ # zlib and GPL+ (no version) licenses come from minizip/ source code License: MIT and zlib and GPL+ +BuildRequires: make BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: zlib-devel From 2906abc7c487e0bd6212fec175502f53e487c154 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 28 Jan 2021 00:43:04 +0000 Subject: [PATCH 08/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 873481d..2364066 100644 --- a/zipper.spec +++ b/zipper.spec @@ -3,7 +3,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.1 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -93,6 +93,9 @@ make test %{_libdir}/*-static.a %changelog +* Thu Jan 28 2021 Fedora Release Engineering - 1.0.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 1.0.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 1d81b0843e7385355141c68521977a5331261409 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Fri, 14 May 2021 14:24:51 +0200 Subject: [PATCH 09/22] Release 1.0.3 --- .gitignore | 1 + sources | 2 +- zipper.spec | 38 +++++++++++++++++--------------------- 3 files changed, 19 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index d653d5f..f9c0b13 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /zipper-20170831giteee877ac7419eb08ecafd110d9187bc10bea483a.tar.gz /zipper-1.0.1.tar.gz +/zipper-1.0.3.tar.gz diff --git a/sources b/sources index 8b82167..4900d86 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zipper-1.0.1.tar.gz) = 1ec4883bd5052bae31c4ce055a07fed0c142cbc41e5ce2807a924883e2694750d31dbea0f0a5560cf723afa1c95ce162277072fa66e041699d7f00759b7f69b3 +SHA512 (zipper-1.0.3.tar.gz) = 27a04317a5707bd144965218aec190d110b8961e26da1895cb98c81ad3d2956f56fd13a6c5e020260b0e74ccd18b581b14fc5af15e0d8033d105ed2479ff15fe diff --git a/zipper.spec b/zipper.spec index 2364066..ee8c752 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,16 +1,13 @@ -%undefine __cmake_in_source_build - Name: zipper Summary: C++ wrapper around minizip compression library -Version: 1.0.1 -Release: 4%{?dist} +Version: 1.0.3 +Release: 1%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by -## git clone --recursive https://github.com/sebastiandev/zipper.git -## git checkout e9f150516cb55d194b5e01d21a9527783e98311d (release 1.0.1) +## git clone -b v1.0.3 --depth 1 --single-branch --progress --recursive https://github.com/sebastiandev/zipper.git ## rm -rf zipper/.git* -## tar -czvf zipper-1.0.1.tar.gz zipper +## tar -czvf zipper-1.0.3.tar.gz zipper Source0: https://github.com/sebastiandev/zipper/archive/zipper/%{name}-%{version}.tar.gz # zlib and GPL+ (no version) licenses come from minizip/ source code @@ -20,7 +17,7 @@ BuildRequires: make BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: zlib-devel -Provides: bundled(minizip) = 1.2.8 +Provides: bundled(minizip) = 1.1 %description Zipper brings the power and simplicity of minizip to a more @@ -55,30 +52,23 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release} This package provides static library file of %{name}. %prep -%autosetup -n zipper - -# Fix library destination -sed -e 's|DESTINATION lib|DESTINATION %{_lib}|g' -i CMakeLists.txt - -# Fix permissions -find ./minizip/ -name '*.c' -exec chmod 0644 '{}' \; +%autosetup -n %{name} %build -export CXXFLAGS="%{optflags}" %cmake -Wno-cpp -Wno-dev \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_VERSION:BOOL=ON -DBUILD_STATIC_VERSION:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON \ - -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES + -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES \ + -DINSTALL_PKGCONFIG_DIR:PATH=%{_libdir}/pkgconfig %cmake_build %install -export LIBDIR=%{_libdir} %cmake_install -%ldconfig_scriptlets +rm -f %{buildroot}%{_bindir}/Zipper-test %check -make test +%ctest %files %doc README.md VERSION.txt @@ -88,11 +78,17 @@ make test %files devel %{_libdir}/*.so %{_includedir}/zipper/ +%{_libdir}/pkgconfig/*.pc +%{_libdir}/cmake/*.cmake %files static -%{_libdir}/*-static.a +%{_libdir}/libZipper.a +%{_libdir}/libZipper-static.a %changelog +* Fri May 14 2021 Antonio Trande - 1.0.3-1 +- Release 1.0.3 + * Thu Jan 28 2021 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 0ab8d58119bc5e9e310c3ddb1a0ec15b47027fbe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 22:19:07 +0000 Subject: [PATCH 10/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index ee8c752..9216e48 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 1%{?dist} +Release: 2%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri May 14 2021 Antonio Trande - 1.0.3-1 - Release 1.0.3 From 4d7cd387137bb88e09014eccfa673025d747b538 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 05:52:45 +0000 Subject: [PATCH 11/22] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 9216e48..89f6fbb 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 1.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From bf99413470963dace68b743062e9dc364f48cd2f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:56:33 +0000 Subject: [PATCH 12/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 89f6fbb..c66bc23 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 1.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 1.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 21f3d34ddc5093ab76bfe102df053d3b01fa2031 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 08:17:10 +0000 Subject: [PATCH 13/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index c66bc23..a7b8685 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 1.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 1.0.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 3997046e657e0514e5ab2b3bc90b99848bd11e7d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:43:32 +0000 Subject: [PATCH 14/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index a7b8685..3347908 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 5%{?dist} +Release: 6%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 1.0.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 1.0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From c98f3214c9be24710a88258e03aef5eba31815c9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 11:09:06 +0000 Subject: [PATCH 15/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 3347908..b9ae50c 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 6%{?dist} +Release: 7%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -86,6 +86,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 1.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 1.0.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From ad292906c3a49a59cdb60f10bca9b2e9a3c8dd50 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Sun, 17 Mar 2024 21:42:36 +0100 Subject: [PATCH 16/22] Patched for GCC-14 --- zipper-gcc14.patch | 31 +++++++++++++++++++++++++++++++ zipper.spec | 29 +++++++++++++++++++---------- 2 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 zipper-gcc14.patch diff --git a/zipper-gcc14.patch b/zipper-gcc14.patch new file mode 100644 index 0000000..0029c56 --- /dev/null +++ b/zipper-gcc14.patch @@ -0,0 +1,31 @@ +--- a/minizip/ioapi_buf.orig.c 2021-05-14 12:57:50.000000000 +0200 ++++ b/minizip/ioapi_buf.c 2024-03-17 21:21:15.921141751 +0100 +@@ -10,6 +10,12 @@ + See the accompanying LICENSE file for the full text of the license. + */ + ++#if defined __GNUC__ && __GNUC__ >= 14 ++#pragma GCC diagnostic warning "-Wimplicit-function-declaration" ++#pragma GCC diagnostic warning "-Wincompatible-pointer-types" ++#pragma GCC diagnostic warning "-Wint-conversion" ++#pragma GCC diagnostic warning "-Wreturn-mismatch" ++#endif + + #include + #include +--- a/minizip/unzip.orig.c 2021-05-14 12:57:50.000000000 +0200 ++++ b/minizip/unzip.c 2024-03-17 21:35:00.081438969 +0100 +@@ -21,6 +21,13 @@ + access functions to crctables and pkeys + */ + ++#if defined __GNUC__ && __GNUC__ >= 14 ++#pragma GCC diagnostic warning "-Wimplicit-function-declaration" ++#pragma GCC diagnostic warning "-Wincompatible-pointer-types" ++#pragma GCC diagnostic warning "-Wint-conversion" ++#pragma GCC diagnostic warning "-Wreturn-mismatch" ++#endif ++ + #include + #include + #include diff --git a/zipper.spec b/zipper.spec index b9ae50c..564557c 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 7%{?dist} +Release: 8%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -10,13 +10,17 @@ URL: https://github.com/sebastiandev/zipper ## tar -czvf zipper-1.0.3.tar.gz zipper Source0: https://github.com/sebastiandev/zipper/archive/zipper/%{name}-%{version}.tar.gz -# zlib and GPL+ (no version) licenses come from minizip/ source code -License: MIT and zlib and GPL+ +#Patch0: zipper-unbundle_minizip.patch +Patch1: zipper-gcc14.patch -BuildRequires: make -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: zlib-devel +# zlib and GPL+ (no version) licenses come from minizip/ source code +License: MIT AND ZLIB AND GPL-1.0-or-later + +BuildRequires: make +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(zlib) +#BuildRequires: minizip-compat-devel Provides: bundled(minizip) = 1.1 %description @@ -52,14 +56,15 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release} This package provides static library file of %{name}. %prep -%autosetup -n %{name} +%autosetup -n %{name} -p1 %build %cmake -Wno-cpp -Wno-dev \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_VERSION:BOOL=ON -DBUILD_STATIC_VERSION:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES \ - -DINSTALL_PKGCONFIG_DIR:PATH=%{_libdir}/pkgconfig + -DINSTALL_PKGCONFIG_DIR:PATH=%{_libdir}/pkgconfig \ + -DZLIB_INCLUDE_DIR:PATH=%{_includedir} -DZLIB_LIBRARY_RELEASE:FILEPATH=%{_libdir}/libz.so %cmake_build %install @@ -73,7 +78,8 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %files %doc README.md VERSION.txt %license LICENSE.md -%{_libdir}/*.so.* +%{_libdir}/*.so.1 +%{_libdir}/*.so.1.0.2 %files devel %{_libdir}/*.so @@ -86,6 +92,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sun Mar 17 2024 Antonio Trande - 1.0.3-8 +- Patched for GCC-14 + * Sat Jan 27 2024 Fedora Release Engineering - 1.0.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From e59ade44a337394d1ec8ab860c468e79376b53ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:53:39 +0000 Subject: [PATCH 17/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 564557c..645b0b4 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 8%{?dist} +Release: 9%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -92,6 +92,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.3-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sun Mar 17 2024 Antonio Trande - 1.0.3-8 - Patched for GCC-14 From 0045d949ccf604e4d74d14295eb88022a421db27 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:47:59 +0000 Subject: [PATCH 18/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 645b0b4..c94a933 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 9%{?dist} +Release: 10%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -92,6 +92,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 1.0.3-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 1.0.3-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 36273643dae035a2f2368523e18765b3d722ecb2 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Fri, 25 Jul 2025 21:47:23 +0200 Subject: [PATCH 19/22] Fix rhbz#2381650 rhbz#2381687 --- zipper.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/zipper.spec b/zipper.spec index c94a933..e5723ac 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 10%{?dist} +Release: 11%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -64,7 +64,10 @@ This package provides static library file of %{name}. -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES -DCMAKE_SKIP_RPATH:BOOL=YES \ -DINSTALL_PKGCONFIG_DIR:PATH=%{_libdir}/pkgconfig \ - -DZLIB_INCLUDE_DIR:PATH=%{_includedir} -DZLIB_LIBRARY_RELEASE:FILEPATH=%{_libdir}/libz.so + -DZLIB_INCLUDE_DIR:PATH=%{_includedir} -DZLIB_LIBRARY_RELEASE:FILEPATH=%{_libdir}/libz.so \ +%if "%{?_lib}" == "lib64" + %{?_cmake_lib_suffix64} +%endif %cmake_build %install @@ -92,6 +95,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Fri Jul 25 2025 Antonio Trande - 1.0.3-11 +- Fix rhbz#2381650 rhbz#2381687 + * Sun Jan 19 2025 Fedora Release Engineering - 1.0.3-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 33653298995d6a29a617accd57ea3f9e63461f28 Mon Sep 17 00:00:00 2001 From: Cristian Le Date: Wed, 30 Jul 2025 17:53:41 +0200 Subject: [PATCH 20/22] Add temporary fix for CMake 4.0 --- zipper.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index e5723ac..589f7fc 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 11%{?dist} +Release: 12%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -59,6 +59,8 @@ This package provides static library file of %{name}. %autosetup -n %{name} -p1 %build +# TODO: remove CMAKE_POLICY_VERSION_MINIMUM if the new upstream source is used +export CMAKE_POLICY_VERSION_MINIMUM=3.5 %cmake -Wno-cpp -Wno-dev \ -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DBUILD_SHARED_VERSION:BOOL=ON -DBUILD_STATIC_VERSION:BOOL=ON \ -DCMAKE_VERBOSE_MAKEFILE:BOOL=TRUE -DCMAKE_COLOR_MAKEFILE:BOOL=ON \ @@ -95,6 +97,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Wed Jul 30 2025 Cristian Le - 1.0.3-12 +- Add temporary fix for CMake 4.0 (rhbz#2381650) + * Fri Jul 25 2025 Antonio Trande - 1.0.3-11 - Fix rhbz#2381650 rhbz#2381687 From c879e988af1928b656103246149792c9993062b5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 21:08:59 +0000 Subject: [PATCH 21/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index 589f7fc..aa3a224 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 12%{?dist} +Release: 13%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -97,6 +97,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 1.0.3-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Jul 30 2025 Cristian Le - 1.0.3-12 - Add temporary fix for CMake 4.0 (rhbz#2381650) From 7e8c03eddf455d59d055bb113d02b0a21ddefa87 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:41:21 +0000 Subject: [PATCH 22/22] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- zipper.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zipper.spec b/zipper.spec index aa3a224..4db6a1e 100644 --- a/zipper.spec +++ b/zipper.spec @@ -1,7 +1,7 @@ Name: zipper Summary: C++ wrapper around minizip compression library Version: 1.0.3 -Release: 13%{?dist} +Release: 14%{?dist} URL: https://github.com/sebastiandev/zipper ## Source archive from github obtained by @@ -97,6 +97,9 @@ rm -f %{buildroot}%{_bindir}/Zipper-test %{_libdir}/libZipper-static.a %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 1.0.3-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 1.0.3-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild