new upstream release

Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
This commit is contained in:
aekoroglu 2022-04-14 12:55:22 +00:00 committed by Tulio Magno Quites Machado Filho
parent d8cd3253fe
commit f90bd342b7
2 changed files with 13 additions and 14 deletions

View File

@ -1 +1 @@
SHA512 (zlib-ng-c69f78bc5.tar.gz) = e0e2561181f8e58d604160df47df805b31c2e20a573af0cbd3207afea0fe3c28c3a29fe4e70273ec4020cf09f52eecb2cc86254a00fe418aa933311ce73154d0
SHA512 (zlib-ng-2.0.6.tar.gz) = 4888f17160d0a87a9b349704047ae0d0dc57237a10e11adae09ace957afa9743cce5191db67cb082991421fc961ce68011199621034d2369c0e7724fad58b4c5

View File

@ -1,20 +1,18 @@
%global commit c69f78bc5e18a0f6de2dcbd8af863f59a14194f0
%global commitdate 20210625
%global shortcommit %(c=%{commit}; echo ${c:0:9})
Name: zlib-ng
Version: 2.0.5
Release: 2.%{commitdate}git%{shortcommit}%{?dist}
Version: 2.0.6
Release: 1%{?dist}
Summary: Zlib replacement with optimizations
License: zlib
Url: https://github.com/zlib-ng/zlib-ng
Source0: https://github.com/zlib-ng/zlib-ng/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
Source0: https://github.com/zlib-ng/zlib-ng/archive/%{version}/%{name}-%{version}.tar.gz
# Be explicit about the soname in order to avoid unintentional changes.
%global soname libz-ng.so.2.0.5
%global soname libz-ng.so.2
ExclusiveArch: aarch64 i686 ppc64le s390x x86_64
BuildRequires: gcc, systemtap-sdt-devel, cmake
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: systemtap-sdt-devel
%description
zlib-ng is a zlib replacement that provides optimizations for "next generation"
@ -29,7 +27,7 @@ The %{name}-devel package contains static libraries and header files for
developing application that use %{name}.
%prep
%autosetup -p1 -n %{name}-%{commit}
%autosetup -p1 -n %{name}-%{version}
%build
# zlib-ng uses a different macro for library directory.
@ -37,8 +35,6 @@ developing application that use %{name}.
%cmake_build
%check
# Tests fail when run in parallel.
%define _smp_mflags -j1
%ctest
%install
@ -46,7 +42,7 @@ developing application that use %{name}.
%files
%{_libdir}/%{soname}
%{_libdir}/libz-ng.so.2
%{_libdir}/libz-ng.so.2.*
%license LICENSE.md
%doc README.md
@ -57,6 +53,9 @@ developing application that use %{name}.
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Thu Apr 14 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> - 2.0.6-1
- New upstream release 2.0.6
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.5-2.20210625gitc69f78bc5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild