public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sai Harsha Suryadevara <ssuryad@amazon.com>
To: git-commits@fedoraproject.org
Subject: [rpms/clamav] rawhide: Drop the libprelude build dependency, the CMake build has no prelude option
Date: Tue, 24 Nov 2026 18:02:04 GMT [thread overview]
Message-ID: <179554332454.1.14499277563350939361.rpms-clamav-46e093bc2660@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/clamav
Branch : rawhide
Commit : 46e093bc266009bd71d729a1e050f13232400ce5
Author : Sai Harsha Suryadevara <ssuryad@amazon.com>
Date : 2026-11-22T03:08:56+00:00
Stats : +4/-7 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/clamav/c/46e093bc266009bd71d729a1e050f13232400ce5?branch=rawhide
Log:
Drop the libprelude build dependency, the CMake build has no prelude option
ClamAV's CMake build never sets the PRELUDE define: clamav-config.h.cmake.in has `#cmakedefine PRELUDE 1` and no CMakeLists.txt or cmake module sets it, so the `#ifdef PRELUDE` code in clamd is never compiled. The `libprelude-devel` and `gnutls-devel` build dependencies, kept for the distribution versions below the test, pull in two libraries the build does not use, and a distribution that reports such a version but does not ship libprelude cannot build the package. This removes the block. Fedora's and RHEL's builds do not change.
Signed-off-by: Sai Harsha Suryadevara <ssuryad@amazon.com>
---
diff --git a/clamav.spec b/clamav.spec
index a036b66..5f44e9e 100644
--- a/clamav.spec
+++ b/clamav.spec
@@ -19,7 +19,7 @@
Summary: End-user tools for the Clam Antivirus scanner
Name: clamav
Version: 1.4.7
-Release: 1%{?dist}
+Release: 2%{?dist}
License: %{?with_unrar:proprietary}%{!?with_unrar:GPL-2.0-only}
URL: https://www.clamav.net/
%if %{with unrar}
@@ -103,12 +103,6 @@ BuildRequires: curl-devel
BuildRequires: git-core
BuildRequires: gmp-devel
BuildRequires: json-c-devel
-%if ! (0%{?fedora} > 40 || 0%{?rhel} > 9)
-BuildRequires: libprelude-devel
-# libprelude-config --libs brings in gnutls, pcre
-# https://bugzilla.redhat.com/show_bug.cgi?id=1830473
-BuildRequires: gnutls-devel
-%endif
BuildRequires: libxml2-devel
BuildRequires: ncurses-devel
%if 0%{?fedora} > 44 || 0%{?rhel} > 10
@@ -665,6 +659,9 @@ done
%changelog
+* Sun Nov 22 2026 Sai Harsha Suryadevara <ssuryad@amazon.com> - 1.4.7-2
+- Drop the libprelude build dependency, the CMake build has no prelude option
+
* Fri Nov 20 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.4.7-1
- Update to 1.4.7
reply other threads:[~2026-11-24 18:02 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=179554332454.1.14499277563350939361.rpms-clamav-46e093bc2660@fedoraproject.org \
--to=ssuryad@amazon.com \
--cc=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