diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-26 09:54:50 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-05-26 09:54:50 +0200 |
commit | e0ab6175a97a67f76fbe299f1c8078ff7328ff19 (patch) | |
tree | 44e3abf527d15faa0be6aff0012675ba23a5d464 | |
parent | eba4c839ec018781fddf4f0b926c6dc2018bdea0 (diff) | |
download | ipxe-e0ab6175a97a67f76fbe299f1c8078ff7328ff19.tar.gz |
versioning tweak
-rw-r--r-- | ipxe.git.spec | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ipxe.git.spec b/ipxe.git.spec index ff24824..2ace99a 100644 --- a/ipxe.git.spec +++ b/ipxe.git.spec @@ -52,14 +52,15 @@ combined roms (all-in-one: legacy bios + 32bit efi + 64bit efi) %setup -q -n %{name} %build -mkdir .git -touch .git/index mkdir src/bin-combined -make -C src VERSION=%{version}-%{release} bin/undionly.kpxe -make -C src VERSION=%{version}-%{release} bin-i386-efi/snponly.efi +VER="%{version}-%{release}" +MMVER=$(echo $VER | cut -d. -f1,2) + +make -C src VERSION=$VER MM_VERSION=$MMVER bin/undionly.kpxe +make -C src VERSION=$VER MM_VERSION=$MMVER bin-i386-efi/snponly.efi %ifarch x86_64 -make -C src VERSION=%{version}-%{release} bin-x86_64-efi/snponly.efi +make -C src VERSION=$VER MM_VERSION=$MMVER bin-x86_64-efi/snponly.efi %endif for rom in %{build_roms}; do |