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
This commit is contained in:
Matej Cepl 2021-06-07 14:21:36 +00:00 committed by Git OBS Bridge
parent 2190d0efb8
commit 8822eb79db
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 7 12:25:11 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Use source URL
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 4 09:34:49 UTC 2021 - Matej Cepl <mcepl@suse.com> Fri Jun 4 09:34:49 UTC 2021 - Matej Cepl <mcepl@suse.com>
@ -5,5 +10,5 @@ Fri Jun 4 09:34:49 UTC 2021 - Matej Cepl <mcepl@suse.com>
------------------------------------------------------------------- -------------------------------------------------------------------
Sun May 24 12:00:00 UTC 2020 - Danilo Chang <ray2501@gmail.com> Sun May 24 12:00:00 UTC 2020 - Danilo Chang <ray2501@gmail.com>
- Initial
- Initial

View File

@ -25,7 +25,7 @@ Summary: CRC32C implementation with support for CPU-specific acceleration
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
Source0: %{packagename}-%{version}.tar.gz Source: https://github.com/google/crc32c/archive/refs/tags/%{version}.tar.gz#/crc32c-%{version}.tar.gz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: gcc-c++ 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. you will need to install %{name}-devel.
%prep %prep
%setup -q -n %{packagename}-%{version} %autosetup -n %{packagename}-%{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
@ -74,11 +74,11 @@ you will need to install %{name}-devel.
%files -n %{name}%{soname} %files -n %{name}%{soname}
%license LICENSE %license LICENSE
%doc AUTHORS CONTRIBUTING.md README.md
%{_libdir}/%{name}.so.1.1.0 %{_libdir}/%{name}.so.1.1.0
%{_libdir}/%{name}.so.1 %{_libdir}/%{name}.so.1
%files -n %{name}-devel %files -n %{name}-devel
%doc AUTHORS CONTRIBUTING.md README.md
%{_includedir}/%{packagename} %{_includedir}/%{packagename}
%{_libdir}/%{name}.so %{_libdir}/%{name}.so
%{_libdir}/cmake/Crc32c %{_libdir}/cmake/Crc32c