public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/apt] rawhide: Revert to cmake 3
Date: Thu, 29 Oct 2026 17:49:23 GMT	[thread overview]
Message-ID: <179329616333.1.17657384166981731686.rpms-apt-6b068751a052@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-29 17:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179329616333.1.17657384166981731686.rpms-apt-6b068751a052@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox