public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-fastapi] f44: Remove conditionals for forward-compatibility with F45+
Date: Thu, 16 Jul 2026 11:06:55 GMT	[thread overview]
Message-ID: <178420001546.1.1718093855888943393.rpms-python-fastapi-66945e135bbd@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-fastapi
            Branch : f44
            Commit : 66945e135bbdc040518ef7e69814a9b18de8b61a
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-07-16T12:05:25+01:00
            Stats  : +0/-6 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-fastapi/c/66945e135bbdc040518ef7e69814a9b18de8b61a?branch=f44

            Log:
            Remove conditionals for forward-compatibility with F45+

The Fedora 44 branch has diverged from Rawhide/F45, so these aren’t needed.

---
diff --git a/python-fastapi.spec b/python-fastapi.spec
index e3fbac4..37f1c16 100644
--- a/python-fastapi.spec
+++ b/python-fastapi.spec
@@ -118,15 +118,12 @@ The key features are:
 %package -n     python3-fastapi
 Summary:        %{summary}
 
-%if %{defined fc44} || %{defined fc45} || %{defined fc46}
 # Removed in F44 after upstream deprecated fastapi-slim
 Obsoletes:      python3-fastapi-slim < 0.128.8
-%endif
 
 %description -n python3-fastapi %{common_description}
 
 
-%if %{defined fc44} || %{defined fc45} || %{defined fc46}
 # We don’t use “%%pyproject_extras_subpkg -n python3-fastapi …” because we want
 # to Obsolete the corresponding fastapi-slim extras.
 
@@ -162,9 +159,6 @@ It makes sure the dependencies are installed.
 
 %files -n python3-fastapi+all
 %ghost %dir %{python3_sitelib}/*.dist-info
-%else
-%pyproject_extras_subpkg -n python3-fastapi standard standard-no-fastapi-cloud-cli all
-%endif
 
 
 %prep -a

                 reply	other threads:[~2026-07-16 11:06 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=178420001546.1.1718093855888943393.rpms-python-fastapi-66945e135bbd@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --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