Add local definition of version_no_tilde macro for when it is unavailable
Some older distributions do not have it present in the default build environment, because it comes from the Rust packaging macros. To avoid pulling in the Rust packaging macros unnecessarily, a local version of the macro is included for when it is unavailable.
This commit is contained in:
parent
9107d39acb
commit
b991c736e2
|
@ -1,3 +1,6 @@
|
|||
# Local definition of version_no_tilde when it doesn't exist
|
||||
%{!?version_no_tilde: %define version_no_tilde %{shrink:%(echo '%{version}' | tr '~' '-')}}
|
||||
|
||||
# Disable for now until version handling question is dealt with
|
||||
%bcond_with python
|
||||
|
||||
|
|
Loading…
Reference in New Issue