public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/librabbitmq] f43: update to 0.16.0
@ 2026-06-10  6:14 Remi Collet
  0 siblings, 0 replies; only message in thread
From: Remi Collet @ 2026-06-10  6:14 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/librabbitmq
            Branch : f43
            Commit : 1240cc43a8c3a4c1dc4842aaf2a1c012be5c9a6b
            Author : Remi Collet <remi@fedoraproject.org>
            Date   : 2026-06-10T08:14:06+02:00
            Stats  : +19/-27 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/librabbitmq/c/1240cc43a8c3a4c1dc4842aaf2a1c012be5c9a6b?branch=f43

            Log:
            update to 0.16.0

re-license spec file to CECILL-2.1
spec file cleanup

(cherry picked from commit e5e6658a286940123f340e55d36f76af59d556ce)

---
diff --git a/.gitignore b/.gitignore
index 89f6d2c..2bc6334 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ clog
 /rabbitmq-c-0.13.0-974d71a.tar.gz
 /rabbitmq-c-0.14.0-124722b.tar.gz
 /rabbitmq-c-0.15.0-84b81cd.tar.gz
+/rabbitmq-c-0.16.0.tar.gz

diff --git a/librabbitmq.spec b/librabbitmq.spec
index deafdfa..e68c2a7 100644
--- a/librabbitmq.spec
+++ b/librabbitmq.spec
@@ -1,29 +1,28 @@
 # Fedora spec file for librabbitmq
 #
-# Copyright (c) 2012-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText:  Copyright 2012-2026 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 #
 # Please, preserve the changelog entries
 #
 
 %bcond_without      tests
 
-%global gh_commit   84b81cd97a1b5515d3d4b304796680da24c666d8
-%global gh_short    %(c=%{gh_commit}; echo ${c:0:7})
 %global gh_owner    alanxz
 %global gh_project  rabbitmq-c
 %global libname     librabbitmq
 %global soname      4
+%global forgeurl    https://github.com/%{gh_owner}/%{gh_project}
 
 Name:      %{libname}
 Summary:   Client library for AMQP
-Version:   0.15.0
-Release:   3%{?dist}
 License:   MIT
-URL:       https://github.com/alanxz/rabbitmq-c
-
-Source0:   https://github.com/%{gh_owner}/%{gh_project}/archive/%{gh_commit}/%{gh_project}-%{version}-%{gh_short}.tar.gz
+Version:   0.16.0
+Release:   1%{?dist}
+%forgemeta
+URL:       %{forgeurl}
+Source0:   %{forgesource}
 
 
 BuildRequires: gcc
@@ -66,7 +65,7 @@ amqp-publish        Publish a message on an AMQP server
 
 
 %prep
-%setup -q -n %{gh_project}-%{gh_commit}
+%forgesetup
 
 # Copy sources to be included in -devel docs.
 cp -pr examples Examples
@@ -81,26 +80,17 @@ sed -e '/test_basic/d' -i tests/CMakeLists.txt
   -DBUILD_TOOLS:BOOL=ON \
   -DBUILD_TOOLS_DOCS:BOOL=ON \
 %if %{with tests}
-  -DINSTALL_STATIC_LIBS:BOOL=OFF \
+  -DINSTALL_STATIC_LIBS:BOOL=OFF
 %else
   -DBUILD_TESTING:BOOL=OFF \
-  -DBUILD_STATIC_LIBS:BOOL=OFF \
+  -DBUILD_STATIC_LIBS:BOOL=OFF
 %endif
-  -S .
 
-%if 0%{?cmake_build:1}
 %cmake_build
-%else
-make %{_smp_mflags}
-%endif
 
 
 %install
-%if 0%{?cmake_install:1}
 %cmake_install
-%else
-make install  DESTDIR="%{buildroot}"
-%endif
 
 
 %check
@@ -113,12 +103,8 @@ grep static %{buildroot}%{_libdir}/cmake/rabbitmq-c/*.cmake && exit 1
 
 %if %{with tests}
 : upstream tests
-%if 0%{?ctest:1}
 %ctest
 %else
-make test
-%endif
-%else
 : Tests disabled
 %endif
 
@@ -145,6 +131,11 @@ make test
 
 
 %changelog
+* Wed Jun 10 2026 Remi Collet <remi@remirepo.net> - 0.16.0-1
+- update to 0.16.0
+- re-license spec file to CECILL-2.1
+- spec file cleanup
+
 * Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.15.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
 

diff --git a/sources b/sources
index 0b05ed6..87938ec 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (rabbitmq-c-0.15.0-84b81cd.tar.gz) = a3a1e4ac5f9126a905de7f15b0580a3562c626891aa634dd72e96264da1b87107f82ba6b865ba178d228e025c4a1df370c648d30a13d1422710b74b7ba38cbea
+SHA512 (rabbitmq-c-0.16.0.tar.gz) = 7769d96f9fdc8cb8b12851b1b28a389654760906fa3251530bf2351f6af1306fa78c1dcb3850efdf67d4952e46bc910e34b894927e450b8eae8a90954285b527

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-10  6:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10  6:14 [rpms/librabbitmq] f43: update to 0.16.0 Remi Collet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox