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
|
%global project_name rabbitmq-c
|
||||||
|
|
||||||
Name: librabbitmq
|
Name: librabbitmq
|
||||||
|
|
||||||
Version: 0.11.0
|
Version: 0.13.0
|
||||||
Release: 2
|
Release: 1
|
||||||
|
|
||||||
Summary: The AMQP client library
|
Summary: The AMQP client library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/alanxz/rabbitmq-c
|
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
|
Patch0: CVE-2023-35789.patch
|
||||||
|
|
||||||
BuildRequires: cmake > 2.8
|
BuildRequires: cmake > 3.12
|
||||||
BuildRequires: popt-devel > 1.14
|
BuildRequires: popt-devel > 1.14
|
||||||
BuildRequires: openssl-devel xmlto gcc
|
BuildRequires: openssl-devel xmlto gcc
|
||||||
Provides: %{name}-tools
|
Provides: %{name}-tools
|
||||||
@ -38,11 +36,11 @@ Summary: Help manual for %{name}
|
|||||||
The %{name}-help package conatins man manual etc
|
The %{name}-help package conatins man manual etc
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{project_name}-%{git_commit} -p1
|
%autosetup -n %{project_name}-%{version} -p1
|
||||||
sed -e '/test_basic/d' -i tests/CMakeLists.txt
|
sed -e '/test_basic/d' -i tests/CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%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
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -54,15 +52,17 @@ grep @ %{buildroot}%{_libdir}/pkgconfig/librabbitmq.pc && exit 1
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE-MIT AUTHORS
|
%license LICENSE AUTHORS
|
||||||
%doc THANKS TODO *.md
|
%doc THANKS *.md
|
||||||
%{_libdir}/%{name}.so.4*
|
%{_libdir}/%{name}.so.4*
|
||||||
|
%{_libdir}/%{name}.so.%{version}
|
||||||
%{_bindir}/amqp-*
|
%{_bindir}/amqp-*
|
||||||
%{_libdir}/cmake/rabbitmq-c/*
|
%{_libdir}/cmake/rabbitmq-c/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/%{name}.so
|
%{_libdir}/%{name}.so
|
||||||
%{_includedir}/amqp*
|
%{_includedir}/amqp*
|
||||||
|
%{_includedir}/%{project_name}/*.h
|
||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
@ -70,6 +70,9 @@ make test
|
|||||||
%doc %{_mandir}/man7/librabbitmq-tools.7*
|
%doc %{_mandir}/man7/librabbitmq-tools.7*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 30 2023 yaoxin <yao_xin001@hoperun.com> - 0.11.0-2
|
||||||
- Fix CVE-2023-35789
|
- 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