public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Xavier Bachelot <xavier@bachelot.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rt] f43: Drop unproper version check
Date: Thu, 15 Oct 2026 21:30:52 GMT	[thread overview]
Message-ID: <179209985293.1.17132286062446404677.rpms-rt-ce0f7667aa63@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rt
            Branch : f43
            Commit : ce0f7667aa637d2dae5a62c175d66c5b460cb104
            Author : Xavier Bachelot <xavier@bachelot.org>
            Date   : 2026-10-15T23:28:09+02:00
            Stats  : +0/-10 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/rt/c/ce0f7667aa637d2dae5a62c175d66c5b460cb104?branch=f43

            Log:
            Drop unproper version check

It won't work as expected when upgrading to 5.0.10+

---
diff --git a/rt.spec b/rt.spec
index 0a14ce8..49cbf71 100644
--- a/rt.spec
+++ b/rt.spec
@@ -105,13 +105,7 @@ BuildRequires: perl(DateTime::Locale) >= 0.40
 %{?with_mysql:BuildRequires: perl(DBD::mysql) >= 2.1018}
 %{?with_pg:BuildRequires: perl(DBD::Pg) >= 1.43}
 BuildRequires: perl(DBI) >= 1.37
-%if "%{version}" >= "5.0.6"
 BuildRequires: perl(DBIx::SearchBuilder) >= 1.80
-%elif "%{version}" >= "5.0.5"
-BuildRequires: perl(DBIx::SearchBuilder) >= 1.77
-%else
-BuildRequires: perl(DBIx::SearchBuilder) >= 1.76
-%endif
 BuildRequires: perl(Devel::StackTrace) >= 2.00
 BuildRequires: perl(Devel::GlobalDestruction)
 BuildRequires: perl(Digest::MD5) >= 2.27
@@ -515,11 +509,7 @@ make install DESTDIR=${RPM_BUILD_ROOT}
 # Work-around to regression in rpm >= 4.12.90:
 # Can't mix %%doc with directly installed docs, anymore.
 # Need to install all files directly.
-%if "%{version}" >= "5.0.6"
 install -m 644 README.MariaDB README.fedora ${RPM_BUILD_ROOT}%{_pkgdocdir}
-%else
-install -m 644 README README.fedora ${RPM_BUILD_ROOT}%{_pkgdocdir}
-%endif
 
 # We don't want CPAN in run-time packages
 rm -f ${RPM_BUILD_ROOT}%{_sbindir}/rt-test-dependencies

                 reply	other threads:[~2026-10-15 21:30 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=179209985293.1.17132286062446404677.rpms-rt-ce0f7667aa63@fedoraproject.org \
    --to=xavier@bachelot.org \
    --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