Skip to content

Commit

Permalink
Fix for wrong build-date in EL9 and Fedora rpm builds.
Browse files Browse the repository at this point in the history
Change-Id: I48f6cf48b38434f20b0048563622d98e082a90a6
  • Loading branch information
fjssilva committed Dec 12, 2023
1 parent 8d279d3 commit 805f872
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/build/misc/rpm.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,14 @@
# https://en.opensuse.org/openSUSE:Build_Service_cross_distribution_howto

# SuSE will not set "dist", others do
%if 0%{?suse_version} == 1315
%global dist .sles12
%global sles12 1
%endif

%if 0%{?suse_version} == 1500
%global dist .sl15
%global sles15 1
%endif

# Disable "reproducible builds"
%global source_date_epoch_from_changelog 0

%global legacy_name @MYSQL_CJ_EXTENDED_LEGACY_PROD_NAME@@MYSQL_CJ_RPM_PACKAGE_SUFFIX@

%if 0%{?commercial:1}
Expand Down Expand Up @@ -97,7 +95,7 @@ BuildRequires: ant
BuildRequires: java-devel >= 1:1.8.0
%endif

%if 0%{?sles12:1} || 0%{?sles15:1}
%if 0%{?sles15:1}
Requires: java-headless >= 1.8.0
%else
Requires: java-headless >= 1:1.8.0
Expand Down

0 comments on commit 805f872

Please sign in to comment.