Blame SOURCES/rhc-patch-Makefile.patch

d60c09
diff -urN rhc-0.2.4.orig/Makefile rhc-0.2.4/Makefile
d60c09
--- rhc-0.2.4.orig/Makefile	2023-08-01 05:37:07.000000000 -0400
d60c09
+++ rhc-0.2.4/Makefile	2023-08-30 12:25:02.357010969 -0400
15b0da
@@ -1,12 +1,3 @@
15b0da
-SHELL := bash
15b0da
-.ONESHELL:
15b0da
-.SHELLFLAGS := -eu -o pipefail -c
15b0da
-.DELETE_ON_ERROR:
15b0da
-MAKEFLAGS += --warn-undefined-variables
15b0da
-MAKEFLAGS += --no-builtin-rules
15b0da
-.POSIX:
15b0da
-.SUFFIXES:
15b0da
-
15b0da
 # Project variables
15b0da
 
15b0da
 # Used as a prefix to binary names. Cannot contain spaces.
d60c09
@@ -90,7 +81,7 @@
d60c09
 	go run $(BUILDFLAGS) -ldflags "$(LDFLAGS)" . --generate-man-page > $@
d60c09
 
d60c09
 %.1.gz: %.1
d60c09
-	gzip -k -f $^
d60c09
+	gzip -c -f $^ > $@.tmp && mv $@.tmp $@
d60c09
 
d60c09
 USAGE.md: $(GOSRC)
d60c09
 	go run $(BUILDFLAGS) -ldflags "$(LDFLAGS)" . --generate-markdown > $@