_config: Move reproducible builds macros.
This commit is contained in:
parent
47f5b3bd90
commit
9b7e9d3fd7
24
_config
24
_config
@ -3815,6 +3815,18 @@ Substitute: gcc6-c++-32bit
|
||||
Substitute: gcc-c++-32bit
|
||||
%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:
|
||||
%suse_version 1600
|
||||
%workbench_version 0100
|
||||
@ -3838,18 +3850,6 @@ Macros:
|
||||
%opensuse_bs 1
|
||||
%_vendor suse
|
||||
|
||||
# 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
|
||||
|
||||
# define which postgres is default
|
||||
%postgresql_default_ver 15
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user