Revert "More %%dist shenanigans."

It's pointless, because doesn't actually get around the real problem.

This reverts commit aa0e9e6fd1.
This commit is contained in:
Peter Jones 2018-10-02 14:19:54 -04:00
parent aa0e9e6fd1
commit 3506e57522
2 changed files with 1 additions and 4 deletions

View File

@ -44,7 +44,6 @@
%define define_pkg(a:p:) \
%{expand:%%package -n shim-%{-a*}} \
Summary: First-stage UEFI bootloader \
Release: %{releasever}%{?dist} \
Requires: mokutil >= 1:0.2.0-1 \
Requires: efi-filesystem \
Provides: shim-signed-%{-a*} = %{version}-%{release} \

View File

@ -1,13 +1,11 @@
# this is to make us only expand %%{dist} if we're on a modularity build.
# it's 2 macros make vim's \c not put a brace at the end of the changelog.
%global realdist %{expand:%{?dist}}
%global _dist %{expand:%{?_module_build:%%{?dist}}}
%global dist %{expand:%%{_dist}}
Name: shim
Version: 15
%global releasever 7
Release: %{releasever}%{?realdist}
Release: 7%{?dist}
Summary: First-stage UEFI bootloader
License: BSD
URL: https://github.com/rhboot/shim/