diff --git a/_config b/_config index b80f532..ca152ba 100644 --- a/_config +++ b/_config @@ -3839,8 +3839,16 @@ Macros: %_vendor suse # Reproducible builds +%if "%{sub %_project 1 9}" == "openSUSE:" || "%{sub %_project 1 5}" == "SUSE:" +Macros: %source_date_epoch_from_changelog Y -# clamp_mtime_to_source_date_epoch 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