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