rpm/rpm-4.18.0-allow-disabling-rmbuild.patch

16 lines
499 B
Diff
Raw Permalink Normal View History

--- rpm-4.18.0/build/build.c.orig 2022-10-27 17:01:14.118557647 +0200
+++ rpm-4.18.0/build/build.c 2022-10-27 17:01:48.561414744 +0200
@@ -155,9 +155,9 @@
mCmd = "%{__spec_clean_cmd}";
break;
case RPMBUILD_RMBUILD:
- mTemplate = "%{__spec_clean_template}";
- mPost = "%{__spec_clean_post}";
- mCmd = "%{__spec_clean_cmd}";
+ mTemplate = "%{__spec_rmbuild_template}";
+ mPost = "%{__spec_rmbuild_post}";
+ mCmd = "%{__spec_rmbuild_cmd}";
break;
case RPMBUILD_STRINGBUF:
default: