public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/apt] rawhide: Revert to cmake 3
@ 2026-10-29 17:49 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-10-29 17:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/apt
Branch : rawhide
Commit : 6b068751a05294102936c868ad038df1c1d4cfbf
Author : Terje Røsten <terjeros@gmail.com>
Date   : 2026-10-29T18:49:11+01:00
Stats  : +20/-3 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/apt/c/6b068751a05294102936c868ad038df1c1d4cfbf?branch=rawhide

Log:
Revert to cmake 3

---
diff --git a/apt-3.3.5-cmake3.patch b/apt-3.3.5-cmake3.patch
new file mode 100644
index 0000000..a360fa0
--- /dev/null
+++ b/apt-3.3.5-cmake3.patch
@@ -0,0 +1,13 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index fd3a561..e84ef6e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2,7 +2,7 @@
+ # Licensed under the same terms as APT; i.e. GPL 2 or later.
+ 
+ # set minimum version
+-cmake_minimum_required(VERSION 4.2)
++cmake_minimum_required(VERSION 3.13)
+ project(apt)
+ # Generic header locations
+ include_directories(${PROJECT_BINARY_DIR}/include)

diff --git a/apt.spec b/apt.spec
index 865b7ff..f4a2558 100644
--- a/apt.spec
+++ b/apt.spec
@@ -14,14 +14,15 @@
 
 Name:           apt
 Version:        3.3.5
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Command-line package manager for Debian packages
 
 License:        GPL-2.0-or-later
 URL:            https://tracker.debian.org/pkg/apt
 Source0:        https://salsa.debian.org/apt-team/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz
-Patch1:         apt_include_cstdint.patch
-Patch2:         apt-2.9.27-cstdint.patch
+Patch:          apt_include_cstdint.patch
+Patch:          apt-2.9.27-cstdint.patch
+Patch:          apt-3.3.5-cmake3.patch
 
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
@@ -329,6 +330,9 @@ exit 0
 %doc %{_docdir}/%{name}-utils
 
 %changelog
+* Thu Oct 29 2026 Terje Røsten <terjeros@gmail.com> - 3.3.5-2
+- Revert to cmake 3
+
 * Wed Oct 28 2026 Terje Røsten <terjeros@gmail.com> - 3.3.5-1
 - 3.3.5
 

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

only message in thread, other threads:[~2026-10-29 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-29 17:49 [rpms/apt] rawhide: Revert to cmake 3 

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