[shim-signed/f18] Rebuild to provide "shim" package directly instead of just as a Provides:

Peter Jones pjones at fedoraproject.org
Sun Dec 16 20:47:14 UTC 2012


commit 2fc46bb713efe3c814a8ef65f5d1865191245b08
Author: Peter Jones <pjones at redhat.com>
Date:   Sun Dec 16 15:47:08 2012 -0500

    Rebuild to provide "shim" package directly instead of just as a Provides:

 shim-signed.spec |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/shim-signed.spec b/shim-signed.spec
index e8f05ec..5c7fd7f 100644
--- a/shim-signed.spec
+++ b/shim-signed.spec
@@ -1,6 +1,6 @@
 Name:           shim-signed
 Version:        0.2
-Release:        3%{?dist}
+Release:        3.1%{?dist}
 Summary:        First-stage UEFI bootloader
 Provides:	shim = %{version}-%{release}
 
@@ -8,8 +8,10 @@ License:        BSD
 URL:            http://www.codon.org.uk/~mjg59/shim/
 Source0:	shim.efi
 
-Requires: shim-unsigned >= %{version}-%{release}
-BuildRequires: shim-unsigned = %{version}-%{release}
+#Requires: shim-unsigned >= %{version}-%{release}
+#BuildRequires: shim-unsigned = %{version}-%{release}
+Requires: shim-unsigned >= 0.2-3
+BuildRequires: shim-unsigned = 0.2-3
 BuildRequires: pesign >= 0.100-1%{dist}
 
 # Shim uses OpenSSL, but cannot use the system copy as the UEFI ABI is not
@@ -38,6 +40,14 @@ Initial UEFI bootloader that handles chaining to a trusted full bootloader
 under secure boot environments. This package contains the version signed by
 the UEFI signing service.
 
+%package -n shim
+Summary: First-stage UEFI bootloader
+
+%description -n shim
+Initial UEFI bootloader that handles chaining to a trusted full bootloader
+under secure boot environments. This package contains the version signed by
+the UEFI signing service.
+
 %prep
 cd %{_builddir}
 rm -rf shim-signed-%{version}
@@ -60,11 +70,14 @@ install -D -d -m 0755 $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/
 install -m 0644 shim.efi $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/shim.efi
 install -m 0644 shim-fedora.efi $RPM_BUILD_ROOT/boot/efi/EFI/%{efidir}/shim-fedora.efi
 
-%files
+%files -n shim
 /boot/efi/EFI/%{efidir}/shim.efi
 /boot/efi/EFI/%{efidir}/shim-fedora.efi
 
 %changelog
+* Sun Dec 16 2012 Peter Jones <pjones at redhat.com> - 0.2-3.1
+- Rebuild to provide "shim" package directly instead of just as a Provides:
+
 * Sat Dec 15 2012 Peter Jones <pjones at redhat.com> - 0.2-3
 - Also provide shim-fedora.efi, signed only by the fedora signer.
 - Fix the fedora signature on the result to actually be correct.


More information about the scm-commits mailing list