<p><b>@ignatenkobrain</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/rpm-software-management/rpm/pull/722#discussion_r289810027">macros.in</a>:</p>
<pre style='color:#555'>>  %autosetup(a:b:cDn:TvNS:p:)\
 %setup %{-a} %{-b} %{-c} %{-D} %{-n} %{-T} %{!-v:-q}\
 %{-S:%global __scm %{-S*}}\
 %{expand:%__scm_setup_%{__scm} %{!-v:-q}}\
 %{!-N:%autopatch %{-v} %{-p:-p%{-p*}}}
 
+# Macro to remove or replace tilde from version.
+# -v<version> Sets the version to be used for replacement. Default is %version.
+%version_notilde(v:) %{lua:
+    local sep = rpm.expand('%1')
+    local ver = rpm.expand('%{!-v:%{version}}%{-v:%{-v*}}')
</pre>
<p>so I should add more percent signs? from testing I have been doing, this macro works fine.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/722?email_source=notifications&email_token=ADLPZU7Y5W7PMXKS7KZ6EADPYUB4NA5CNFSM4HRFWIBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2L6EDI#discussion_r289810027">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZUYUIJD74JBI7X3NGJTPYUB4NANCNFSM4HRFWIBA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZUYR5X5OU7UYMIZK6P3PYUB4NA5CNFSM4HRFWIBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2L6EDI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/722?email_source=notifications\u0026email_token=ADLPZU7Y5W7PMXKS7KZ6EADPYUB4NA5CNFSM4HRFWIBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2L6EDI#discussion_r289810027",
"url": "https://github.com/rpm-software-management/rpm/pull/722?email_source=notifications\u0026email_token=ADLPZU7Y5W7PMXKS7KZ6EADPYUB4NA5CNFSM4HRFWIBKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB2L6EDI#discussion_r289810027",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>