public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/curl] curl-v8.23.0-3: drop curl-minimal subpackage in favor of curl-full
@ 2026-11-03 12:39 Jan Macku
  0 siblings, 0 replies; only message in thread
From: Jan Macku @ 2026-11-03 12:39 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/curl
            Branch : curl-v8.23.0-3
            Commit : 8cec2e9cc7c18e48039a2d9dd780b0528afed8cd
            Author : Jan Macku <jamacku@redhat.com>
            Date   : 2024-02-07T13:05:39+01:00
            Stats  : +14/-25 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/curl/c/8cec2e9cc7c18e48039a2d9dd780b0528afed8cd?branch=curl-v8.23.0-3

            Log:
            drop curl-minimal subpackage in favor of curl-full

The reason for maintaining two separate packages for curl is no longer valid.
The curl-minimal is currently almost identical to curl-full, so let's drop curl-minimal.

Resolves: #2262096

---
diff --git a/curl.spec b/curl.spec
index c75f108..b953ebb 100644
--- a/curl.spec
+++ b/curl.spec
@@ -1,7 +1,7 @@
 Summary: A utility for getting files from remote servers (FTP, HTTP, and others)
 Name: curl
 Version: 8.6.0
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: curl
 Source0: https://curl.se/download/%{name}-%{version}.tar.xz
 Source1: https://curl.se/download/%{name}-%{version}.tar.xz.asc
@@ -29,6 +29,12 @@ Patch104: 0104-curl-7.88.0-tests-warnings.patch
 Provides: curl-full = %{version}-%{release}
 Provides: webclient
 URL: https://curl.se/
+
+# The reason for maintaining two separate packages for curl is no longer valid.
+# The curl-minimal is currently almost identical to curl-full, so let's drop curl-minimal.
+# For more details, see https://bugzilla.redhat.com/show_bug.cgi?id=2262096
+Obsoletes: curl-minimal < 8.6.0-4
+
 BuildRequires: automake
 BuildRequires: brotli-devel
 BuildRequires: coreutils
@@ -118,6 +124,10 @@ BuildRequires: valgrind
 BuildRequires: stunnel
 %endif
 
+# Suggest minimal version of libcurl to to keep number of dependencies low
+# after dropping curl-minimal.
+Suggests: libcurl-minimal
+
 # using an older version of libcurl could result in CURLE_UNKNOWN_OPTION
 Requires: libcurl%{?_isa} >= %{version}-%{release}
 
@@ -176,22 +186,6 @@ The libcurl-devel package includes header files and libraries necessary for
 developing programs which use the libcurl library. It contains the API
 documentation of the library, too.
 
-%package -n curl-minimal
-Summary: Conservatively configured build of curl for minimal installations
-Provides: curl = %{version}-%{release}
-Conflicts: curl
-Suggests: libcurl-minimal
-RemovePathPostfixes: .minimal
-
-# using an older version of libcurl could result in CURLE_UNKNOWN_OPTION
-Requires: libcurl%{?_isa} >= %{version}-%{release}
-
-%description -n curl-minimal
-This is a replacement of the 'curl' package for minimal installations.  It
-comes with a limited set of features compared to the 'curl' package.  On the
-other hand, the package is smaller and requires fewer run-time dependencies to
-be installed.
-
 %package -n libcurl-minimal
 Summary: Conservatively configured build of libcurl for minimal installations
 Requires: libnghttp2%{?_isa} >= %{libnghttp2_version}
@@ -351,10 +345,6 @@ for i in ${RPM_BUILD_ROOT}%{_libdir}/*; do
     mv -v $i $i.minimal
 done
 
-# install and rename the executable that will be packaged as curl-minimal
-%make_install -C build-minimal/src
-mv -v ${RPM_BUILD_ROOT}%{_bindir}/curl{,.minimal}
-
 # install libcurl.m4
 install -d $RPM_BUILD_ROOT%{_datadir}/aclocal
 install -m 644 docs/libcurl/libcurl.m4 $RPM_BUILD_ROOT%{_datadir}/aclocal
@@ -410,16 +400,15 @@ rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/mk-ca-bundle.1*
 %{_mandir}/man3/*
 %{_datadir}/aclocal/libcurl.m4
 
-%files -n curl-minimal
-%{_bindir}/curl.minimal
-%{_mandir}/man1/curl.1*
-
 %files -n libcurl-minimal
 %license COPYING
 %{_libdir}/libcurl.so.4.minimal
 %{_libdir}/libcurl.so.4.[0-9].[0-9].minimal
 
 %changelog
+* Wed Feb 07 2024 Jan Macku <jamacku@redhat.com> - 8.6.0-4
+- drop curl-minimal subpackage in favor of curl-full (#2262096)
+
 * Mon Feb 05 2024 Jan Macku <jamacku@redhat.com> - 8.6.0-3
 - ignore response body to HEAD requests
 

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

only message in thread, other threads:[~2026-11-03 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-03 12:39 [rpms/curl] curl-v8.23.0-3: drop curl-minimal subpackage in favor of curl-full Jan Macku

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