Blame SPECS/efivar.spec

482dcd
Name:           efivar
da1a85
Version:        36
250e70
Release:        12%{?dist}
482dcd
Summary:        Tools to manage UEFI variables
da1a85
License:        LGPLv2+
ac385c
URL:            https://github.com/rhinstaller/efivar
482dcd
Requires:       %{name}-libs = %{version}-%{release}
da1a85
ExclusiveArch:  x86_64 aarch64
ac385c
ac385c
BuildRequires:  popt popt-devel popt-static git glibc-static
ac385c
Source0:        https://github.com/rhinstaller/efivar/releases/download/efivar-%{version}/efivar-%{version}.tar.bz2
da1a85
Patch0001: 0001-libabigail-isn-t-in-RHEL-yet-so-nerf-the-abi-check.patch
da1a85
Patch0002: 0002-Move-the-syntastic-file-I-use-out-of-the-repo.patch
da1a85
Patch0003: 0003-Move-verbosity-headers-to-be-public.patch
da1a85
Patch0004: 0004-Pacify-some-coverity-nits.patch
da1a85
Patch0005: 0005-efivar-Fix-some-types-in-L-behavior-to-pacify-coveri.patch
da1a85
Patch0006: 0006-Promote-_make_hd_dn-to-make_hd_dn-and-get-rid-of-the.patch
da1a85
Patch0007: 0007-Try-to-convince-covscan-that-sysfs_read_file-doesn-t.patch
da1a85
Patch0008: 0008-Make-efidp_make_file-have-even-more-better-input-con.patch
da1a85
Patch0009: 0009-Make-path-helpers.c-also-import-fix_coverity.h.patch
da1a85
Patch0010: 0010-Fix-a-makeguids-building-problem-with-generics.h.patch
da1a85
Patch0011: 0011-Improve-ACPI-device-path-formatting.patch
da1a85
Patch0012: 0012-Give-linux-s-parse-functions-the-unmodified-device-l.patch
da1a85
Patch0013: 0013-Move-ACPI-ID-parsing-to-a-shared-location.patch
da1a85
Patch0014: 0014-Make-a-platform-ACPI-root-parser-separate-from-PCI-r.patch
da1a85
Patch0015: 0015-Make-a-way-to-say-e-3-isn-t-viable-for-a-kind-of-dev.patch
da1a85
Patch0016: 0016-Make-a-linux-device-root-for-SOC-devices-that-use-FD.patch
da1a85
Patch0017: 0017-If-we-can-t-parse-part-of-the-device-link-skip-it-an.patch
da1a85
Patch0018: 0018-Pacify-clang-analyzer-just-a-little.patch
da1a85
Patch0019: 0019-Try-even-harder-to-convince-coverity-that-get_file-i.patch
da1a85
Patch0020: 0020-Make-the-debug-code-less-intrusive.patch
da1a85
Patch0021: 0021-efiboot-Make-the-device-node-skipping-code-pass-cove.patch
da1a85
Patch0022: 0022-efiboot-don-t-error-on-unknown-type-with-DEV_ABBREV_.patch
da1a85
Patch0023: 0023-efiboot-fix-a-bad-error-check.patch
da1a85
Patch0024: 0024-efiboot-parse_scsi_link-fix-the-offset-searching-for.patch
da1a85
Patch0025: 0025-Coverity-still-doesn-t-believe-in-error-codes.patch
da1a85
Patch0026: 0026-Don-t-require-NVME-to-have-an-EUI.patch
da1a85
Patch0027: 0027-Fix-another-buggy-fake-acpi-pci-root-driver.patch
da1a85
Patch0028: 0028-Fix-dev-probes-intialization-test.patch
da1a85
Patch0029: 0029-Deal-with-devices-that-don-t-have-a-device-link-in-s.patch
da1a85
Patch0030: 0030-Handle-partition-name-parsing-and-formatting-for-par.patch
c32698
Patch0031: 0031-Fix-partition-number-detection-when-it-s-not-provide.patch
482dcd
482dcd
%description
482dcd
efivar provides a simple command line interface to the UEFI variable facility.
482dcd
482dcd
%package libs
482dcd
Summary: Library to manage UEFI variables
482dcd
482dcd
%description libs
482dcd
Library to allow for the simple manipulation of UEFI variables.
482dcd
482dcd
%package devel
482dcd
Summary: Development headers for libefivar
482dcd
Requires: %{name}-libs = %{version}-%{release}
482dcd
482dcd
%description devel
482dcd
development headers required to use libefivar.
482dcd
482dcd
%prep
482dcd
%setup -q -n %{name}-%{version}
482dcd
git init
482dcd
git config user.email "example@example.com"
482dcd
git config user.name "RHEL Ninjas"
482dcd
git add .
482dcd
git commit -a -q -m "%{version} baseline."
482dcd
git am %{patches} 
ac385c
git config --unset user.email
ac385c
git config --unset user.name
482dcd
482dcd
%build
ac385c
make libdir=%{_libdir} bindir=%{_bindir} CFLAGS="$RPM_OPT_FLAGS -flto" LDFLAGS="$RPM_LD_FLAGS -flto"
482dcd
482dcd
%install
482dcd
rm -rf $RPM_BUILD_ROOT
482dcd
%makeinstall
482dcd
482dcd
%clean
482dcd
rm -rf $RPM_BUILD_ROOT
482dcd
482dcd
%post libs -p /sbin/ldconfig
482dcd
482dcd
%postun libs -p /sbin/ldconfig
482dcd
482dcd
%files
ac385c
%{!?_licensedir:%global license %%doc}
ac385c
%license COPYING
ac385c
%doc README.md
482dcd
%{_bindir}/efivar
ac385c
%exclude %{_bindir}/efivar-static
482dcd
%{_mandir}/man1/*
482dcd
482dcd
%files devel
482dcd
%{_mandir}/man3/*
482dcd
%{_includedir}/*
482dcd
%{_libdir}/*.so
482dcd
%{_libdir}/pkgconfig/*.pc
482dcd
482dcd
%files libs
482dcd
%{_libdir}/*.so.*
482dcd
482dcd
%changelog
250e70
* Tue Nov 13 2018 Javier Martinez Canillas <javierm@redhat.com> - 36-12
c32698
- Fix partition number detection when it's not provided (pjones)
250e70
  Resolves: rhbz#1616305
c32698
da1a85
* Mon Sep 17 2018 Peter Jones <pjones@redhat.com> - 36-11
da1a85
- Fix device probing with no matching probes where HD() will work
da1a85
  Resolves: rhbz#1613698
da1a85
- Detect partitiond md devices correctly
da1a85
  Resolves: rhbz#1602414
da1a85
  Resolves: rhbz#1613370
da1a85
da1a85
* Mon Sep 10 2018 Peter Jones <pjones@redhat.com> - 36-10
da1a85
- Work around platform ACPI PCI(e) root drivers that don't fill in the
da1a85
  "driver" symlink in sysfs.
da1a85
  Resolves: rhbz#1614944
da1a85
da1a85
* Mon Jul 16 2018 Peter Jones <pjones@redhat.com> - 36-9
da1a85
- Don't require NVME to have an EUI
da1a85
  Resolves: rhbz#1593784
da1a85
da1a85
* Thu Jun 21 2018 Peter Jones <pjones@redhat.com> - 36-8
da1a85
- Fix another minor covscan complaint
da1a85
  Related: rhbz#1558937
da1a85
  Related: rhbz#1591853
da1a85
da1a85
* Thu Jun 21 2018 Peter Jones <pjones@redhat.com> - 36-7
da1a85
- Fix a couple more weird Aarch64 machines
da1a85
  Related: rhbz#1558937
da1a85
  Resolves: rhbz#1591853
da1a85
da1a85
* Wed Jun 20 2018 Peter Jones <pjones@redhat.com> - 36-6
da1a85
- Fix device path generation for block devices on nonstandard device path
da1a85
  roots.
da1a85
  Related: rhbz#1558937
da1a85
  Resolves: rhbz#1591853
da1a85
da1a85
* Thu Jun 14 2018 Peter Jones <pjones@redhat.com> - 36-5
da1a85
- Try to fix some minor coverity nits.
da1a85
  Related: rhbz#1520533
da1a85
  Related: rhbz#1570032
da1a85
da1a85
* Wed Jun 13 2018 Peter Jones <pjones@redhat.com> - 36-4
da1a85
- Try to fix some minor coverity nits.
da1a85
  Related: rhbz#1520533
da1a85
  Related: rhbz#1570032
da1a85
da1a85
* Tue Jun 12 2018 Peter Jones <pjones@redhat.com> - 36-3
da1a85
- Try to fix some minor coverity nits.
da1a85
  Related: rhbz#1520533
da1a85
  Related: rhbz#1570032
da1a85
da1a85
* Sat Jun 09 2018 Peter Jones <pjones@redhat.com> - 36-2
da1a85
- Minor specfile cleanup to pacify rpmdiff
da1a85
  Related: rhbz#1520533
da1a85
  Related: rhbz#1570032
da1a85
da1a85
* Fri Jun 08 2018 Peter Jones <pjones@redhat.com> - 36-1
da1a85
- Rebase to efivar 36
da1a85
  Resolves: rhbz#1520533
da1a85
  Related: rhbz#1570032
da1a85
ac385c
* Tue May 09 2017 Peter Jones <pjones@redhat.com> - 31-4
ac385c
- Fix a bunch of coverity issues.
ac385c
  Related: rhbz#1380825
ac385c
  Related: rhbz#1310779
ac385c
ac385c
* Tue May 09 2017 Peter Jones <pjones@redhat.com> - 31-3
ac385c
- Fix a bunch of coverity issues.
ac385c
  Related: rhbz#1380825
ac385c
  Related: rhbz#1310779
ac385c
ac385c
* Tue May 09 2017 Peter Jones <pjones@redhat.com> - 31-2
ac385c
- Fix a bunch of coverity issues.
ac385c
  Related: rhbz#1380825
ac385c
  Related: rhbz#1310779
ac385c
ac385c
* Mon Mar 13 2017 Peter Jones <pjones@redhat.com> - 31-1
ac385c
- Update to efivar 31
ac385c
  Related: rhbz#1380825
ac385c
  Related: rhbz#1310779
ac385c
482dcd
* Wed Aug 20 2014 Peter Jones <pjones@redhat.com> - 0.11-1
482dcd
- Update to 0.11
482dcd
482dcd
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-3
482dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
482dcd
482dcd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10-2
482dcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
482dcd
482dcd
* Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.10-1
482dcd
- Update package to 0.10.
482dcd
- Fixes a build error due to different cflags in the builders vs updstream
482dcd
  makefile.
482dcd
482dcd
* Fri May 02 2014 Peter Jones <pjones@redhat.com> - 0.9-0.1
482dcd
- Update package to 0.9.
482dcd
482dcd
* Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.8-0.1
482dcd
- Update package to 0.8 as well.
482dcd
482dcd
* Fri Oct 25 2013 Peter Jones <pjones@redhat.com> - 0.7-1
482dcd
- Update package to 0.7
482dcd
- adds --append support to the binary.
482dcd
482dcd
* Fri Sep 06 2013 Peter Jones <pjones@redhat.com> - 0.6-1
482dcd
- Update package to 0.6
482dcd
- fixes to documentation from lersek
482dcd
- more validation of uefi guids
482dcd
- use .xz for archives
482dcd
482dcd
* Thu Sep 05 2013 Peter Jones <pjones@redhat.com> - 0.5-0.1
482dcd
- Update to 0.5
482dcd
482dcd
* Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.2
482dcd
- Fix ldconfig invocation
482dcd
482dcd
* Mon Jun 17 2013 Peter Jones <pjones@redhat.com> - 0.4-0.1
482dcd
- Initial spec file