4 Summary: Tools to manage UEFI variables
6 URL: https://github.com/rhinstaller/efivar
7 Requires: %{name}-libs = %{version}-%{release}
8 ExclusiveArch: %{ix86} x86_64 aarch64
10 BuildRequires: popt-devel popt-static git glibc-static libabigail
11 Source0: https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
14 efivar provides a simple command line interface to the UEFI variable facility.
17 Summary: Library to manage UEFI variables
20 Library to allow for the simple manipulation of UEFI variables.
23 Summary: Development headers for libefivar
24 Requires: %{name}-libs = %{version}-%{release}
27 development headers required to use libefivar.
30 %setup -q -n %{name}-%{version}
32 git config user.email "%{name}-owner@fedoraproject.org"
33 git config user.name "Fedora Ninjas"
35 git commit -a -q -m "%{version} baseline."
36 git am %{patches} </dev/null
37 git config --unset user.email
38 git config --unset user.name
41 make libdir=%{_libdir} bindir=%{_bindir} CFLAGS="$RPM_OPT_FLAGS -flto" LDFLAGS="$RPM_LD_FLAGS"
44 rm -rf $RPM_BUILD_ROOT
48 rm -rf $RPM_BUILD_ROOT
50 %post libs -p /sbin/ldconfig
52 %postun libs -p /sbin/ldconfig
55 %{!?_licensedir:%global license %%doc}
59 %exclude %{_bindir}/efivar-static
66 %{_libdir}/pkgconfig/*.pc
72 * Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 30-1
73 - Fix efidp_*() functions with __pure__ that break with some optimizations
74 - Fix NVMe EUI parsing.
76 * Tue Sep 27 2016 Peter Jones <pjones@redhat.com> - 29-1
77 - Use -pie not -PIE in our linker config
78 - Fix some overflow checks for gcc < 5.x
79 - Make variable class probes other than the first one actually work
80 - Move -flto to CFLAGS
81 - Pack all of the efi device path headers
82 - Fix redundant decl of efi_guid_zero()
84 * Wed Aug 17 2016 Peter Jones <pjones@redhat.com> - 28-1
85 - Make our sonames always lib$FOO.1 , not lib$FOO.$VERSION .
87 * Tue Aug 16 2016 Peter Jones <pjones@redhat.com> - 27-1
88 - Bug fix for 086eeb17 in efivar 26.
90 * Thu Aug 11 2016 Peter Jones <pjones@redhat.com> - 26-1
91 - Use symmacros.h to make newer compilers happy
92 - Fix a bug in efidp_size() double-counting End nodes sometimes.
93 - Handle nonnull comparisons in the headers more gracefully.
95 * Wed Aug 10 2016 Peter Jones <pjones@redhat.com> - 25-1
96 - Rework version numbers.
97 - Add error tracking API.
98 - Remove use of deprecated readdir_r
99 - SATA device path fixes.
101 * Mon Jul 13 2015 Peter Jones <pjones@redhat.com> - 0.21-1
102 - Rename "make test" so packagers don't think it's a good idea to run it
104 - Error check sizes in vars_get_variable()
105 - Fix some file size comparisons
106 - make SONAME reflect the correct values.
107 - Fix some uses of "const"
108 - Compile with -O2 by default
109 - Fix some strict-aliasing violations
110 - Fix some of the .pc files and how we do linking to work better.
112 * Tue Jun 02 2015 Peter Jones <pjones@redhat.com> - 0.20-1
114 - Make sure tester is build with the right link order for libraries.
115 - Adjust linker order for pkg-config
116 - Work around LocateDevicePath() not grokking PcieRoot() devices properly.
117 - Rectify some missing changelog entries
119 * Thu May 28 2015 Peter Jones <pjones@redhat.com> - 0.19-1
121 - add API from efibootmgr so fwupdate and other tools can use it.
123 * Wed Oct 15 2014 Peter Jones <pjones@redhat.com> - 0.15-1
125 - Make 32-bit builds set variables' DataSize correctly.
127 * Wed Oct 08 2014 Peter Jones <pjones@redhat.com> - 0.14-1
129 - add efi_id_guid_to_guid() and efi_guid_to_id_guid(), which support {ID GUID}
131 - Add some vendor specific guids to our guid list.
132 - Call "empty" "zero" now, as many other places do. References to
133 efi_guid_is_empty() and efi_guid_empty still exist for ABI compatibility.
134 - add "efivar -L" to the man page.
136 * Tue Oct 07 2014 Peter Jones <pjones@redhat.com> - 0.13-1
138 - add efi_symbol_to_guid()
139 - efi_name_to_guid() will now fall back on efi_symbol_to_guid() as a last
141 - "efivar -L" to list all the guids we know about
142 - better namespacing on libefivar.so (rename well_known_* -> efi_well_known_*)
144 * Thu Sep 25 2014 Peter Jones <pjones@redhat.com> - 0.12-1
147 * Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
150 * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.10-1
151 - Update package to 0.10.
152 - Fixes a build error due to different cflags in the builders vs updstream
155 * Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
156 - Update package to 0.9.
158 * Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
159 - Update package to 0.8 as well.
161 * Fri Oct 25 2013 Peter Jones <pjones@redhat.com> - 0.7-1
162 - Update package to 0.7
163 - adds --append support to the binary.
165 * Fri Sep 06 2013 Peter Jones <pjones@redhat.com> - 0.6-1
166 - Update package to 0.6
167 - fixes to documentation from lersek
168 - more validation of uefi guids
169 - use .xz for archives
171 * Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
174 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
175 - Fix ldconfig invocation
177 * Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1