From eab3fb692c3ef783a17d9d55f6e675f879299429 Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Fri, 6 Aug 2021 19:27:32 +0200 Subject: [PATCH] Revert a single change from the previous commit so that the commit #7f8a0e15a can be cleanly reverted, when the time comes. The commented "Source0" line in the #7f8a0e15a commit raises RPMLint warnings. While it is good to have the code without such warnings, the value of the clean revert of the whole #7f8a0e15a commit is higher. The RPMLint warning for "macro in a comment" is meant for cases, when the macro in the comment would be expanded to multiple lines. The additional lines won't be commented out as the original line with the unexpanded macros. That leads to an unwated code execution. The macro "%{version}" is a single line macro, so no real issue should arise here. --- mariadb.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mariadb.spec b/mariadb.spec index 06d92fc..459a853 100644 --- a/mariadb.spec +++ b/mariadb.spec @@ -162,7 +162,7 @@ URL: http://mariadb.org License: GPLv2 and LGPLv2 # Original upstream sources archive URL -# Source0: https://downloads.mariadb.org/interstitial/mariadb-%%{version}/source/mariadb-%%{version}.tar.gz +# Source0: https://downloads.mariadb.org/interstitial/mariadb-%{version}/source/mariadb-%{version}.tar.gz # Non-existent URL containing correct archive name # The archive was created by executing the "generate-modified-sources.sh" script Source0: https://fedoraproject.org/mariadb-%{version}-downstream_modified.tar.gz