Try not to screw up SONAME stuff quite so badly.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2016-09-27 17:20:19 -04:00
parent 6d4a12e9f9
commit 0352e7b943
2 changed files with 55 additions and 1 deletions

View File

@ -0,0 +1,50 @@
From 83f68f61c71f1a2c4d927709588298a8634cc1af Mon Sep 17 00:00:00 2001
From: Peter Jones <pjones@redhat.com>
Date: Tue, 27 Sep 2016 17:19:07 -0400
Subject: [PATCH] lib*: provide LIBEFIVAR_0.28 etc.
Signed-off-by: Peter Jones <pjones@redhat.com>
---
src/libefiboot.map.in | 6 ++++++
src/libefivar.map.in | 8 +++++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/src/libefiboot.map.in b/src/libefiboot.map.in
index 51822a5..dc0858f 100644
--- a/src/libefiboot.map.in
+++ b/src/libefiboot.map.in
@@ -25,5 +25,11 @@ LIBEFIBOOT_0.0 {
LIBEFIBOOT_0.24 {
};
+LIBEFIBOOT_0.28 {
+};
+
+LIBEFIBOOT_0.29 {
+};
+
LIBEFIBOOT_1.@@VERSION@@ {
};
diff --git a/src/libefivar.map.in b/src/libefivar.map.in
index 6b8f996..5e0646b 100644
--- a/src/libefivar.map.in
+++ b/src/libefivar.map.in
@@ -99,8 +99,14 @@ LIBEFIVAR_0.24 {
efi_guid_cmp;
} LIBEFIVAR_0.0;
-LIBEFIVAR_1.@@VERSION@@ {
+LIBEFIBOOT_0.28 {
global: efi_error_set;
efi_error_get;
efi_error_clear;
};
+
+LIBEFIBOOT_0.29 {
+}
+
+LIBEFIVAR_1.@@VERSION@@ {
+};
--
2.10.0

View File

@ -1,6 +1,6 @@
Name: efivar Name: efivar
Version: 30 Version: 30
Release: 1%{?dist} Release: 2%{?dist}
Summary: Tools to manage UEFI variables Summary: Tools to manage UEFI variables
License: LGPLv2.1 License: LGPLv2.1
URL: https://github.com/rhinstaller/efivar URL: https://github.com/rhinstaller/efivar
@ -9,6 +9,7 @@ ExclusiveArch: %{ix86} x86_64 aarch64
BuildRequires: popt-devel popt-static git glibc-static BuildRequires: popt-devel popt-static git glibc-static
Source0: https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2 Source0: https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
Patch0001: 0001-lib-provide-LIBEFIVAR_0.28-etc.patch
%description %description
efivar provides a simple command line interface to the UEFI variable facility. efivar provides a simple command line interface to the UEFI variable facility.
@ -69,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so.* %{_libdir}/*.so.*
%changelog %changelog
* Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 30-2
- Try not to screw up SONAME stuff quite so badly.
* Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 30-1 * Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 30-1
- Fix efidp_*() functions with __pure__ that break with some optimizations - Fix efidp_*() functions with __pure__ that break with some optimizations
- Fix NVMe EUI parsing. - Fix NVMe EUI parsing.