public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rt] f43: Drop unproper version check
@ 2026-10-15 21:30 Xavier Bachelot
  0 siblings, 0 replies; only message in thread
From: Xavier Bachelot @ 2026-10-15 21:30 UTC (permalink / raw)
  To: git-commits

            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

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

only message in thread, other threads:[~2026-10-15 21:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 21:30 [rpms/rt] f43: Drop unproper version check Xavier Bachelot

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