From c2396679e836dc061bfc233442aacbf34f8e6e23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 11 Aug 2021 13:43:20 +0200 Subject: [PATCH] 2.2.0 bump --- .gitignore | 1 + ....2.0-Examples-to-include-system-miniz.h.patch | 16 ++++++++-------- miniz.rpmlintrc | 3 +-- miniz.spec | 9 ++++++--- sources | 2 +- 5 files changed, 17 insertions(+), 14 deletions(-) rename miniz-2.1.0-Examples-to-include-system-miniz.h.patch => miniz-2.2.0-Examples-to-include-system-miniz.h.patch (91%) diff --git a/.gitignore b/.gitignore index 55a4c53..c32c0f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /miniz_v115_r4.7z /miniz-2.1.0.zip +/miniz-2.2.0.zip diff --git a/miniz-2.1.0-Examples-to-include-system-miniz.h.patch b/miniz-2.2.0-Examples-to-include-system-miniz.h.patch similarity index 91% rename from miniz-2.1.0-Examples-to-include-system-miniz.h.patch rename to miniz-2.2.0-Examples-to-include-system-miniz.h.patch index 945120a..07d0cb3 100644 --- a/miniz-2.1.0-Examples-to-include-system-miniz.h.patch +++ b/miniz-2.2.0-Examples-to-include-system-miniz.h.patch @@ -1,4 +1,4 @@ -From 2eeb23af281f056cd0a628a019ee70ccf8c61c25 Mon Sep 17 00:00:00 2001 +From dd5cf5e228a90ecfc66257e04fc6dd053fd9c686 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Wed, 22 May 2019 12:34:13 +0200 Subject: [PATCH] Examples to include system miniz.h @@ -6,8 +6,8 @@ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit -We build miniz as a dynamic library. Adjust examples to use miniz -header file from system a location. +We build miniz as a dynamic library. Adjust examples to use a miniz +header file from a system location. Signed-off-by: Petr Písař --- @@ -33,14 +33,14 @@ index d6e33fa..7cb2556 100644 typedef unsigned short uint16; typedef unsigned int uint; diff --git a/examples/example2.c b/examples/example2.c -index c3a84ba..bc9fba5 100644 +index 03d2409..bc9fba5 100644 --- a/examples/example2.c +++ b/examples/example2.c @@ -13,7 +13,7 @@ #endif #include --#include "miniz_zip.h" +-#include "miniz.h" +#include typedef unsigned char uint8; @@ -59,13 +59,13 @@ index a97ba84..7aaac31 100644 typedef unsigned char uint8; typedef unsigned short uint16; diff --git a/examples/example4.c b/examples/example4.c -index eb591d4..2e6d3f6 100644 +index 3f2d7cf..2e6d3f6 100644 --- a/examples/example4.c +++ b/examples/example4.c @@ -1,6 +1,6 @@ // example4.c - Uses tinfl.c to decompress a zlib stream in memory to an output file // Public domain, May 15 2011, Rich Geldreich, richgel99@gmail.com. See "unlicense" statement at the end of tinfl.c. --#include "miniz_tinfl.h" +-#include "miniz.h" +#include #include #include @@ -97,5 +97,5 @@ index abbb64f..7878848 100644 // Now include stdio.h because this test uses fopen(), etc. (but we still don't want miniz.c's stdio stuff, for testing). #include -- -2.20.1 +2.31.1 diff --git a/miniz.rpmlintrc b/miniz.rpmlintrc index 57ba749..eab20d0 100644 --- a/miniz.rpmlintrc +++ b/miniz.rpmlintrc @@ -1,2 +1 @@ -from Config import * -addFilter("spelling-error .* (fastlz|minilzo|zlib)"); +addFilter('spelling-error .* (fastlz|minilzo|zlib)') diff --git a/miniz.spec b/miniz.spec index 09f06a5..4c6fb73 100644 --- a/miniz.spec +++ b/miniz.spec @@ -3,8 +3,8 @@ %endif Name: miniz -Version: 2.1.0 -Release: 8%{?dist} +Version: 2.2.0 +Release: 1%{?dist} Summary: Compression library implementing the zlib and Deflate # LICENSE: MIT text # miniz.c: MIT @@ -16,7 +16,7 @@ URL: https://github.com/richgel999/%{name} Source0: %{url}/releases/download/%{version}/%{name}-%{version}.zip # Adjust examples for building against a system miniz library, # not suitable for upstream that prefers a copy-lib approach. -Patch0: miniz-2.1.0-Examples-to-include-system-miniz.h.patch +Patch0: miniz-2.2.0-Examples-to-include-system-miniz.h.patch BuildRequires: coreutils # diffutils for cmp BuildRequires: diffutils @@ -131,6 +131,9 @@ install -m 0644 %{name}.h '%{buildroot}/%{_includedir}' %changelog +* Wed Aug 11 2021 Petr Pisar - 2.2.0-1 +- 2.2.0 bump + * Thu Jul 22 2021 Fedora Release Engineering - 2.1.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index bac90ab..f763fad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (miniz-2.1.0.zip) = 03fb5d351e83b8e26bc9bb342dcfcd975c7838d5900ca57460364d40151cb9638254ee51393b6c665f4a1d5bb1e901e5c761cb9d5b9c3ede9f1cd20ad14be609 +SHA512 (miniz-2.2.0.zip) = d0757aa5c9246adfcd155b6be51e0b36f358ce9bc98ff651a5865057f024e927134abf9502f2306552537f11b344dbdb152eff8830d16d7f8ef936cf65562cd6