update code

This commit is contained in:
zhuchunyi 2019-11-06 19:52:56 +08:00
parent d9b440350c
commit 1183769512

View File

@ -1,6 +1,6 @@
Name: snappy
Name: snappy
Version: 1.1.7
Release: 9
Release: 10
Summary: A fast compressor/decompressor
License: BSD
URL: https://github.com/google/snappy
@ -9,9 +9,9 @@ Source1: snappy.pc
Patch0: snappy-gtest.patch
Patch1: snappy-version-macros.patch
Patch2: Fix-Travis-CI-configuration-for-OSX.patch
Patch6000: Fix-Travis-CI-configuration-for-OSX.patch
BuildRequires: gcc-c++ automake autoconf gtest-devel git cmake
BuildRequires: gcc-c++ automake autoconf gtest-devel cmake
%description
Snappy is a compression/decompression library. It does not aim for maximum compression,
@ -21,7 +21,7 @@ speeds and reasonable compression.
%package devel
Summary: Development files for snappy
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: cmake-filesystem pkgconfig
%description devel
@ -30,7 +30,7 @@ This package is the development files for snappy.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
%build
%cmake
@ -43,7 +43,7 @@ mkdir %{buildroot}
install -p -D %{SOURCE1} %{buildroot}%{_libdir}/pkgconfig/snappy.pc
%check
make test
make test
%pre
@ -55,8 +55,7 @@ make test
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING
%license COPYING AUTHORS
%{_libdir}/libsnappy.so.*
%files devel
@ -71,6 +70,12 @@ make test
%doc NEWS README.md
%changelog
* Wed Oct 9 2019 shenyangyang<shenyangyang4@huawei.com> - 1.1.7-10
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:modify the patch number and requires of devel
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1.1.7-9
- Type:enhancement
- ID:NA