SHA256
1
0
forked from pool/libcrc32c

Accepting request 991727 from home:gmbr3:Active

- Update to 1.1.2:
  * Fix (unused) ReadUint64LE for BE machines
  * Remove unnecessary reinterpret_cast

OBS-URL: https://build.opensuse.org/request/show/991727
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcrc32c?expand=0&rev=5
This commit is contained in:
Matej Cepl 2022-07-29 16:17:20 +00:00 committed by Git OBS Bridge
parent f442c9a422
commit bbb0cc041d
4 changed files with 17 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6533f45b1670b5d59b38a514d82b09c6fb70cc1050467220216335e873074e8
size 29829

BIN
crc32c-1.1.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 29 14:08:36 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Update to 1.1.2:
* Fix (unused) ReadUint64LE for BE machines
* Remove unnecessary reinterpret_cast
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 7 12:25:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Mon Jun 7 12:25:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libcrc32c # spec file for package libcrc32c
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,16 +16,16 @@
# #
%define packagename crc32c %define rname crc32c
%define soname 1 %define soname 1
Name: libcrc32c Name: libcrc32c
Version: 1.1.1 Version: 1.1.2
Release: 0 Release: 0
Summary: CRC32C implementation with support for CPU-specific acceleration instructions Summary: CRC32C implementation with support for CPU-specific acceleration instructions
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://github.com/google/crc32c URL: https://github.com/google/crc32c
Source: https://github.com/google/crc32c/archive/refs/tags/%{version}.tar.gz#/crc32c-%{version}.tar.gz Source: %{url}/archive/%{version}/%{rname}-%{version}.tar.gz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -50,7 +50,7 @@ CRC32C is specified as the CRC that uses the iSCSI polynomial in RFC 3720.
The polynomial was introduced by G. Castagnoli, S. Braeuer and M. Herrmann. The polynomial was introduced by G. Castagnoli, S. Braeuer and M. Herrmann.
%package -n %{name}-devel %package -n %{name}-devel
Summary: C++ header files and library symbolic links for %{packagename} Summary: C++ header files and library symbolic links for %{rname}
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{name}%{soname} = %{version} Requires: %{name}%{soname} = %{version}
@ -60,7 +60,7 @@ libraries for %{name}. If you would like to develop programs using %{name},
you will need to install %{name}-devel. you will need to install %{name}-devel.
%prep %prep
%autosetup -n %{packagename}-%{version} %autosetup -n %{rname}-%{version}
%build %build
%cmake -DCRC32C_BUILD_TESTS=0 -DCRC32C_BUILD_BENCHMARKS=0 -DCRC32C_USE_GLOG=0 %cmake -DCRC32C_BUILD_TESTS=0 -DCRC32C_BUILD_BENCHMARKS=0 -DCRC32C_USE_GLOG=0
@ -79,7 +79,7 @@ you will need to install %{name}-devel.
%files -n %{name}-devel %files -n %{name}-devel
%doc AUTHORS CONTRIBUTING.md README.md %doc AUTHORS CONTRIBUTING.md README.md
%{_includedir}/%{packagename} %{_includedir}/%{rname}
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%{_libdir}/cmake/Crc32c %{_libdir}/cmake/Crc32c