From 8822eb79dbdb8ff7758f14d9205bfad4bf8f9afe2226e24d263754a2e108e92d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 7 Jun 2021 14:21:36 +0000 Subject: [PATCH] Accepting request 898095 from home:jengelh:branches:devel:libraries:c_c++ - Use source URL OBS-URL: https://build.opensuse.org/request/show/898095 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcrc32c?expand=0&rev=3 --- libcrc32c.changes | 7 ++++++- libcrc32c.spec | 6 +++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libcrc32c.changes b/libcrc32c.changes index fea4cbf..ef60019 100644 --- a/libcrc32c.changes +++ b/libcrc32c.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 7 12:25:11 UTC 2021 - Jan Engelhardt + +- Use source URL + ------------------------------------------------------------------- Fri Jun 4 09:34:49 UTC 2021 - Matej Cepl @@ -5,5 +10,5 @@ Fri Jun 4 09:34:49 UTC 2021 - Matej Cepl ------------------------------------------------------------------- Sun May 24 12:00:00 UTC 2020 - Danilo Chang -- Initial +- Initial diff --git a/libcrc32c.spec b/libcrc32c.spec index 0d5d4ee..eddd932 100644 --- a/libcrc32c.spec +++ b/libcrc32c.spec @@ -25,7 +25,7 @@ Summary: CRC32C implementation with support for CPU-specific acceleration License: BSD-3-Clause Group: Development/Libraries/C and C++ URL: https://github.com/google/crc32c -Source0: %{packagename}-%{version}.tar.gz +Source: https://github.com/google/crc32c/archive/refs/tags/%{version}.tar.gz#/crc32c-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ @@ -60,7 +60,7 @@ libraries for %{name}. If you would like to develop programs using %{name}, you will need to install %{name}-devel. %prep -%setup -q -n %{packagename}-%{version} +%autosetup -n %{packagename}-%{version} %build %cmake -DCRC32C_BUILD_TESTS=0 -DCRC32C_BUILD_BENCHMARKS=0 -DCRC32C_USE_GLOG=0 @@ -74,11 +74,11 @@ you will need to install %{name}-devel. %files -n %{name}%{soname} %license LICENSE -%doc AUTHORS CONTRIBUTING.md README.md %{_libdir}/%{name}.so.1.1.0 %{_libdir}/%{name}.so.1 %files -n %{name}-devel +%doc AUTHORS CONTRIBUTING.md README.md %{_includedir}/%{packagename} %{_libdir}/%{name}.so %{_libdir}/cmake/Crc32c