Compare commits

..

5 commits

Author SHA1 Message Date
Fedora Release Engineering
29e2928d18 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:05:38 +00:00
Yaakov Selkowitz
39b17e8ab4 Rebuilt for openssl 4.0 2026-06-12 16:41:09 -04:00
Fedora Release Engineering
d8e074de37 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-20 03:29:55 +00:00
Fedora Release Engineering
3272cda0c4 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 19:42:02 +00:00
Sandro Mani
c6d95b55b6 Raise minimum cmake version, modernize spec 2025-07-17 21:52:56 +02:00
2 changed files with 33 additions and 7 deletions

View file

@ -10,18 +10,19 @@
Name: ucommon
Version: 7.0.0
Release: 24%{?dist}
Release: 29%{?dist}
Summary: Portable C++ framework for threads and sockets
License: LGPL-3.0-or-later
URL: http://www.gnu.org/software/commoncpp
Source0: https://ftpmirror.gnu.org/commoncpp/ucommon-%{version}.tar.gz
# Raise minimum cmake version to 3.5
Patch0: ucommon_cmakever.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: doxygen
BuildRequires: graphviz-gd
BuildRequires: make
BuildRequires: gnutls-devel
@ -66,12 +67,12 @@ HTML format.
%prep
%setup -q
%autosetup -p1
%build
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
%cmake
export CXXFLAGS="-std=c++14 %{optflags}"
%cmake -DBUILD_DOCS=ON
%cmake_build
%cmake_build --target doc
@ -79,8 +80,6 @@ export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
%install
%cmake_install
%ldconfig_scriptlets
%files
%doc AUTHORS README NEWS SUPPORT ChangeLog
@ -125,6 +124,21 @@ export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 7.0.0-28
- Rebuilt for openssl 4.0
* Tue Jan 20 2026 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jul 17 2025 Sandro Mani <manisandro@gmail.com> - 7.0.0-25
- Raise minimum cmake version, modernize spec
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild

12
ucommon_cmakever.patch Normal file
View file

@ -0,0 +1,12 @@
diff -rupN ucommon-7.0.0/CMakeLists.txt ucommon-7.0.0-new/CMakeLists.txt
--- ucommon-7.0.0/CMakeLists.txt 2015-12-13 12:28:25.000000000 +0100
+++ ucommon-7.0.0-new/CMakeLists.txt 2025-07-17 20:53:21.196126866 +0200
@@ -17,7 +17,7 @@
# meant for generating project files for those working with IDE's to do
# otherwise generic builds of the library and supporting applications.
-cmake_minimum_required(VERSION 2.6)
+cmake_minimum_required(VERSION 3.5)
PROJECT(ucommon)
set (VERSION 7.0.0)