From 0709f110806ed03e8eb9fdbaf2728220fd425ee3 Mon Sep 17 00:00:00 2001 From: Christian Glombek Date: May 26 2023 08:07:07 +0000 Subject: Remove build timestamp --- diff --git a/SPECS/openshift-clients.spec b/SPECS/openshift-clients.spec index 505e0aa..a926305 100644 --- a/SPECS/openshift-clients.spec +++ b/SPECS/openshift-clients.spec @@ -1,4 +1,3 @@ -%global build_timestamp %(date -u +"%%Y%%m%%d%%H%%M") #debuginfo not supported with Go %global debug_package %{nil} # modifying the Go binaries breaks the DWARF debugging @@ -19,7 +18,7 @@ %global shortcommit %(c=%{commit}; echo ${c:0:7}) %{!?version: %global version %{version_major}.%{version_minor}.%{version_patch}} -%{!?release: %global release %{build_timestamp}.1.git%{shortcommit}} +%{!?release: %global release 1.git%{shortcommit}} %if ! 0%{?os_git_vars:1} %global os_git_vars OS_GIT_VERSION=%{version}-%{release} OS_GIT_COMMIT=%{commit} OS_GIT_MAJOR=%{version_major} OS_GIT_MINOR=%{version_minor} OS_GIT_PATCH=%{version_patch} OS_GIT_TREE_STATE=clean @@ -175,5 +174,6 @@ done %endif %changelog -* Fri May 26 2023 Christian Glombek - 4.14.0-1 -- Import from https://github.com/openshift/oc/blob/68c710f5c29d795a8706d1e40de9099d278c059b/oc.spec +* Fri May 26 2023 Christian Glombek - 4.13.0-1 +- Imported spec from https://github.com/openshift/oc/blob/68c710f5c29d795a8706d1e40de9099d278c059b/oc.spec +- Adapted for CentOS