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.
This commit is contained in:
Michal Schorm 2021-08-06 19:27:32 +02:00
parent 5659759831
commit eab3fb692c

View File

@ -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