Hello community,

here is the log from the commit of package fwupdate for openSUSE:Factory 
checked in at 2019-02-06 15:44:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/fwupdate (Old)
 and      /work/SRC/openSUSE:Factory/.fwupdate.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "fwupdate"

Wed Feb  6 15:44:24 2019 rev:12 rq:668999 version:12

Changes:
--------
--- /work/SRC/openSUSE:Factory/fwupdate/fwupdate.changes        2018-11-06 
13:57:00.888037375 +0100
+++ /work/SRC/openSUSE:Factory/.fwupdate.new.28833/fwupdate.changes     
2019-02-06 15:44:25.459368316 +0100
@@ -1,0 +2,10 @@
+Mon Jan 28 08:14:59 UTC 2019 - Gary Ching-Pang Lin <[email protected]>
+
+- Fix the destination of 'efi'-executables for i586 (FATE#326960)
+
+-------------------------------------------------------------------
+Thu Jan 17 16:10:37 UTC 2019 - [email protected]
+
+- Move 'efi'-executables to '/usr/share/efi'  (FATE#326960)
+
+-------------------------------------------------------------------
@@ -10 +20 @@
-- Update to version 12:
+- Update to version 12 (FATE#326702)

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ fwupdate.spec ++++++
--- /var/tmp/diff_new_pack.NZV3KB/_old  2019-02-06 15:44:25.903368045 +0100
+++ /var/tmp/diff_new_pack.NZV3KB/_new  2019-02-06 15:44:25.911368040 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package fwupdate
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 # needssslcertforbuild
 
@@ -62,6 +62,12 @@
 %endif
 
 %undefine _unique_debug_names
+%if 0%{?suse_version} > 1500
+%define sysefibasedir  %{_datadir}/efi
+%define sysefidir      %{sysefibasedir}/%{_target_cpu}
+%else
+%define sysefidir      %{_libdir}/efi
+%endif
 
 %description
 fwupdate provides a simple command line interface to the UEFI firmware updates.
@@ -99,7 +105,7 @@
 
 %build
 make PJONES="$RPM_OPT_FLAGS" libdir=%{_libdir} bindir=%{_bindir} \
-     EFIDIR=%{efidir} GNUEFIDIR=%{_libdir} TARGETDIR=%{_libdir}/efi \
+     EFIDIR=%{efidir} GNUEFIDIR=%{_libdir} TARGETDIR=%{sysefidir} \
      %{?_smp_mflags}
 
 %install
@@ -107,12 +113,12 @@
 %make_install libdir=%{_libdir} bindir=%{_bindir} mandir=%{_mandir} \
               localedir=%{_datadir}/locale/ includedir=%{_includedir} \
              libexecdir=%{_libexecdir} datadir=%{_datadir} EFIDIR=%{efidir} \
-              TARGETDIR=%{_libdir}/efi
+              TARGETDIR=%{sysefidir}
 
 echo 0%{?_build_create_debug}
 %if 0%{?_build_create_debug} == 0
 rm -rf %{buildroot}/usr/src/debug/%{name}*
-rm -f  %{buildroot}/usr/lib/debug/%{_libdir}/efi/fwup*.efi.debug
+rm -f  %{buildroot}/usr/lib/debug/%{sysefidir}/fwup*.efi.debug
 %endif
 
 %fdupes %{buildroot}%{_mandir}/*
@@ -141,7 +147,7 @@
 # Create the directory for the firwmare update capsule
 mkdir -p /boot/efi/EFI/%{efidir}/fw
 # Install the UEFI firmware update program
-cp %{_libdir}/efi/fwup*.efi /boot/efi/EFI/%{efidir}
+cp %{sysefidir}/fwup*.efi /boot/efi/EFI/%{efidir}
 
 %postun -n %{name}-efi
 if [ "$1" = 0 ] ; then
@@ -178,7 +184,8 @@
 
 %files efi
 %defattr(-,root,root)
-%dir %{_libdir}/efi
-%{_libdir}/efi/fwup*.efi
+%dir %{?sysefibasedir}
+%dir %{sysefidir}
+%{sysefidir}/fwup*.efi
 
 %changelog


Reply via email to