update to version 0.13.0
This commit is contained in:
parent
c19f88361e
commit
76a4954b85
@ -1,21 +1,19 @@
|
||||
%global git_commit a64c08c68aff34d49a2ac152f04988cd921084f9
|
||||
%global git_short_commit %(tmp=%{git_commit}; echo ${tmp:0:7})
|
||||
%global project_name rabbitmq-c
|
||||
|
||||
Name: librabbitmq
|
||||
|
||||
Version: 0.11.0
|
||||
Release: 2
|
||||
Version: 0.13.0
|
||||
Release: 1
|
||||
|
||||
Summary: The AMQP client library
|
||||
License: MIT
|
||||
URL: https://github.com/alanxz/rabbitmq-c
|
||||
|
||||
Source0: https://github.com/alanxz/%{project_name}/archive/%{git_commit}/%{project_name}-%{version}-%{git_short_commit}.tar.gz
|
||||
Source0: https://github.com/alanxz/%{project_name}/archive/refs/tags/v%{version}.tar.gz
|
||||
|
||||
Patch0: CVE-2023-35789.patch
|
||||
|
||||
BuildRequires: cmake > 2.8
|
||||
BuildRequires: cmake > 3.12
|
||||
BuildRequires: popt-devel > 1.14
|
||||
BuildRequires: openssl-devel xmlto gcc
|
||||
Provides: %{name}-tools
|
||||
@ -38,11 +36,11 @@ Summary: Help manual for %{name}
|
||||
The %{name}-help package conatins man manual etc
|
||||
|
||||
%prep
|
||||
%autosetup -n %{project_name}-%{git_commit} -p1
|
||||
%autosetup -n %{project_name}-%{version} -p1
|
||||
sed -e '/test_basic/d' -i tests/CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -DBUILD_TOOLS_DOCS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=ON
|
||||
%cmake -DBUILD_TOOLS:BOOL=ON -DBUILD_TOOLS_DOCS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=ON
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -54,15 +52,17 @@ grep @ %{buildroot}%{_libdir}/pkgconfig/librabbitmq.pc && exit 1
|
||||
make test
|
||||
|
||||
%files
|
||||
%license LICENSE-MIT AUTHORS
|
||||
%doc THANKS TODO *.md
|
||||
%license LICENSE AUTHORS
|
||||
%doc THANKS *.md
|
||||
%{_libdir}/%{name}.so.4*
|
||||
%{_libdir}/%{name}.so.%{version}
|
||||
%{_bindir}/amqp-*
|
||||
%{_libdir}/cmake/rabbitmq-c/*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/%{name}.so
|
||||
%{_includedir}/amqp*
|
||||
%{_includedir}/%{project_name}/*.h
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%files help
|
||||
@ -70,6 +70,9 @@ make test
|
||||
%doc %{_mandir}/man7/librabbitmq-tools.7*
|
||||
|
||||
%changelog
|
||||
* Thu Oct 12 2023 Ge Wang <wang__ge@126.com> - 0.13.0-1
|
||||
- Update to version 0.13.0
|
||||
|
||||
* Fri Jun 30 2023 yaoxin <yao_xin001@hoperun.com> - 0.11.0-2
|
||||
- Fix CVE-2023-35789
|
||||
|
||||
|
||||
Binary file not shown.
BIN
v0.13.0.tar.gz
Normal file
BIN
v0.13.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user