update code
This commit is contained in:
parent
d9b440350c
commit
1183769512
19
snappy.spec
19
snappy.spec
@ -1,6 +1,6 @@
|
|||||||
Name: snappy
|
Name: snappy
|
||||||
Version: 1.1.7
|
Version: 1.1.7
|
||||||
Release: 9
|
Release: 10
|
||||||
Summary: A fast compressor/decompressor
|
Summary: A fast compressor/decompressor
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/google/snappy
|
URL: https://github.com/google/snappy
|
||||||
@ -9,9 +9,9 @@ Source1: snappy.pc
|
|||||||
|
|
||||||
Patch0: snappy-gtest.patch
|
Patch0: snappy-gtest.patch
|
||||||
Patch1: snappy-version-macros.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
|
%description
|
||||||
Snappy is a compression/decompression library. It does not aim for maximum compression,
|
Snappy is a compression/decompression library. It does not aim for maximum compression,
|
||||||
@ -21,7 +21,7 @@ speeds and reasonable compression.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for snappy
|
Summary: Development files for snappy
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: cmake-filesystem pkgconfig
|
Requires: cmake-filesystem pkgconfig
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -30,7 +30,7 @@ This package is the development files for snappy.
|
|||||||
%package_help
|
%package_help
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{name}-%{version} -p1 -Sgit
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake
|
%cmake
|
||||||
@ -55,8 +55,7 @@ make test
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS
|
%license COPYING AUTHORS
|
||||||
%license COPYING
|
|
||||||
%{_libdir}/libsnappy.so.*
|
%{_libdir}/libsnappy.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -71,6 +70,12 @@ make test
|
|||||||
%doc NEWS README.md
|
%doc NEWS README.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Sep 27 2019 shenyangyang<shenyangyang4@huawei.com> - 1.1.7-9
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user