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:
Дмитрий Левин 2013-01-24 21:15:18 +00:00
parent 2f8008125d
commit 98f832220b

View File

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