platform.in: add %EVR macro
%EVR is a handy macro to use in inter-package dependencies, e.g. Requires: %name = %EVR
This commit is contained in:
parent
2f8008125d
commit
98f832220b
@ -537,6 +537,8 @@
|
|||||||
@alt@%systemd_unitdir %_unitdir
|
@alt@%systemd_unitdir %_unitdir
|
||||||
@alt@%make_session %nil
|
@alt@%make_session %nil
|
||||||
@alt@
|
@alt@
|
||||||
|
@alt@%EVR %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
@alt@
|
||||||
@alt@# GCC versioning.
|
@alt@# GCC versioning.
|
||||||
@alt@%__gcc_version %(gcc -dumpversion)
|
@alt@%__gcc_version %(gcc -dumpversion)
|
||||||
@alt@%__gcc_version_major %(gcc -dumpversion |cut -d. -f1)
|
@alt@%__gcc_version_major %(gcc -dumpversion |cut -d. -f1)
|
||||||
|
Loading…
Reference in New Issue
Block a user