Merge pull request 'enable reproducible builds (jsc#SMO-426)' (#26) from gleidi/SLFO_main:enable-reproducible into main
Reviewed-on: https://src.suse.de/products/SLFO_main/pulls/26 Reviewed-by: Ruediger Oertel <oertel@gitea_noreply@suse.de>
This commit is contained in:
commit
ae6b0a21f9
16
_config
16
_config
@ -3815,6 +3815,18 @@ Substitute: gcc6-c++-32bit
|
|||||||
Substitute: gcc-c++-32bit
|
Substitute: gcc-c++-32bit
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Reproducible builds
|
||||||
|
%if "%{sub %_project 1 9}" == "openSUSE:" || "%{sub %_project 1 5}" == "SUSE:"
|
||||||
|
Macros:
|
||||||
|
%source_date_epoch_from_changelog Y
|
||||||
|
:Macros
|
||||||
|
%endif
|
||||||
|
Macros:
|
||||||
|
%set_mtime_to_source_date_epoch Y
|
||||||
|
%use_source_date_epoch_as_buildtime Y
|
||||||
|
%_buildhost reproducible
|
||||||
|
:Macros
|
||||||
|
|
||||||
Macros:
|
Macros:
|
||||||
%suse_version 1600
|
%suse_version 1600
|
||||||
%workbench_version 0100
|
%workbench_version 0100
|
||||||
@ -3838,10 +3850,6 @@ Macros:
|
|||||||
%opensuse_bs 1
|
%opensuse_bs 1
|
||||||
%_vendor suse
|
%_vendor suse
|
||||||
|
|
||||||
# Reproducible builds
|
|
||||||
%source_date_epoch_from_changelog Y
|
|
||||||
# clamp_mtime_to_source_date_epoch Y
|
|
||||||
|
|
||||||
# define which postgres is default
|
# define which postgres is default
|
||||||
%postgresql_default_ver 15
|
%postgresql_default_ver 15
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user