Update to 1.3.4 for fix build error
(cherry picked from commit 2356d0b0171c23127b4a12eb2118e5299fd26c9e)
This commit is contained in:
parent
d22d85d408
commit
de0282ddd1
Binary file not shown.
BIN
socket_wrapper-1.3.4.tar.gz
Normal file
BIN
socket_wrapper-1.3.4.tar.gz
Normal file
Binary file not shown.
16
socket_wrapper-1.3.4.tar.gz.asc
Normal file
16
socket_wrapper-1.3.4.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmLZS8AACgkQfuD8TcwB
|
||||
Tj094hAAuMHMHMLp5djU8uOdyS+xtHx9ZZGXhR6hcVjDDl60P6S1d9NpjAbvyswr
|
||||
TIMc6AoidPRWrhEGz5Z6lyNIwbMrTA7U4VkZjDGnsOeOnXErXR++OmPRd3i22biW
|
||||
slvXaIO+GWB2W+T/uZNu8XB7qoDDBYLjKvV9xEsugi3k00CMlXfAaERsPx/uWva5
|
||||
ZAMwUJolcS+zX8UgLlg6ro4HyD9zXmhoe/9K1tam3mzsH1/hc3hkN3KA4TdMeW6H
|
||||
3ZOOkf3+C8lRy6lY9ptsjHBcIGdWfx2OnVjUEeCv0/OUKN9btIoxhyyQjewqQPxI
|
||||
34oiclYaaEbvtY0BBlCfzsjkAS3LDP/gdtqleKDAV1JtRxFRpvubFo2nbxw1BJO3
|
||||
vwFe2w6UxZ+4cBB9ufITkR5ocAWCB1qRZN5A4NKc+ibr47KEdkhIURPPutgnYYia
|
||||
jqQkkTffE98iqzwvGCyGYx+IR0OIMl099QiCYM+gLscuV0NiT7AHb8kpDfz5XL95
|
||||
rgbEEs+//dQS85l9jflyClGvgu19gUgIACNpDfFT0dETFgpIGV2UpGY35h2XqXsi
|
||||
4Yi6i3IpOjNzAs49/9gLqu6TQ02swtse4T729iRPBuO3i3YBv0G8vu/BO8Soy0Je
|
||||
SIdRyR6ywpE+5EswisR3O5uAyOTHimTwgJKCiwRHRXzbMnpl+7k=
|
||||
=3NK/
|
||||
-----END PGP SIGNATURE-----
|
||||
BIN
socket_wrapper.keyring
Normal file
BIN
socket_wrapper.keyring
Normal file
Binary file not shown.
@ -1,12 +1,15 @@
|
||||
Name: socket_wrapper
|
||||
Version: 1.1.9
|
||||
Release: 4
|
||||
Version: 1.3.4
|
||||
Release: 1
|
||||
Summary: A library passing all socket communications through unix sockets.
|
||||
License: BSD
|
||||
URL: http://cwrap.org/
|
||||
Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
|
||||
Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
|
||||
Source2: socket_wrapper.keyring
|
||||
|
||||
BuildRequires: cmake gcc libcmocka-devel >= 1.1.0
|
||||
BuildRequires: gnupg2
|
||||
|
||||
Recommends: cmake pkgconfig
|
||||
|
||||
@ -27,7 +30,21 @@ Buildarch: noarch
|
||||
%description help
|
||||
Man pages and other related documents.
|
||||
|
||||
%package -n libsocket_wrapper_noop
|
||||
Summary:A library providing dummies for socket_wrapper
|
||||
|
||||
%description -n libsocket_wrapper_noop
|
||||
Applications with the need to call socket_wrapper_enabled() should link against-lsocket_wrapper_noop in order to resolve the symbol at link time.
|
||||
|
||||
%package -n libsocket_wrapper_noop-devel
|
||||
Summary:Development headers for libsocket_wrapper_noop
|
||||
Requires:libsocket_wrapper_noop = %{version}-%{release}
|
||||
|
||||
%description -n libsocket_wrapper_noop-devel
|
||||
Development headers for applications with the need to call socket_wrapper_enabled().
|
||||
|
||||
%prep
|
||||
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
%build
|
||||
@ -44,22 +61,38 @@ cd build
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%ldconfig_scriptlets
|
||||
%ldconfig_scriptlets -n libsocket_wrapper_noop
|
||||
|
||||
%check
|
||||
cd build
|
||||
ctest -V
|
||||
LD_PRELOAD=src/libsocket_wrapper.so bash -c '>/dev/null'
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING
|
||||
%doc AUTHORS
|
||||
%license LICENSE
|
||||
%{_libdir}/libsocket_wrapper.so*
|
||||
%dir %{_libdir}/cmake/socket_wrapper
|
||||
%{_libdir}/cmake/socket_wrapper/socket_wrapper-config*.cmake
|
||||
%{_libdir}/pkgconfig/socket_wrapper.pc
|
||||
|
||||
%files help
|
||||
%doc ChangeLog README
|
||||
%doc CHANGELOG README.md
|
||||
%{_mandir}/man1/socket_wrapper.1*
|
||||
|
||||
%files -n libsocket_wrapper_noop
|
||||
%{_libdir}/libsocket_wrapper_noop.so.*
|
||||
|
||||
%files -n libsocket_wrapper_noop-devel
|
||||
%{_includedir}/socket_wrapper.h
|
||||
%{_libdir}/libsocket_wrapper_noop.so
|
||||
%{_libdir}/cmake/socket_wrapper/socket_wrapper_noop-config*.cmake
|
||||
%{_libdir}/pkgconfig/socket_wrapper_noop.pc
|
||||
|
||||
%changelog
|
||||
* Fri Nov 04 2022 yaoxin <yaoxin30@h-partners.com> - 1.3.4-1
|
||||
- Update to 1.3.4 for fix build error
|
||||
|
||||
* Wed Nov 27 2019 zhouyihang <zhouyihang1@huawei.com> - 1.1.9-4
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user