diff --git a/_service b/_service
index cbed6a8..b5ab8c5 100644
--- a/_service
+++ b/_service
@@ -4,7 +4,7 @@
git
@PARENT_TAG@
enable
- 1.5.1
+ 1.5.2
*.tar
diff --git a/_servicedata b/_servicedata
index 6261b38..d83bd4b 100644
--- a/_servicedata
+++ b/_servicedata
@@ -1,4 +1,4 @@
https://github.com/hughsie/fwupd.git
- bbb1a8136ec3fb88a659cb2ac632128f516d13ad
\ No newline at end of file
+ c21cff1c04140c5f208db6e118155c61e6085873
\ No newline at end of file
diff --git a/fwupd-1.5.1.tar.xz b/fwupd-1.5.1.tar.xz
deleted file mode 100644
index da33d5c..0000000
--- a/fwupd-1.5.1.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7712a206ee0db998db25aabf78495883d3f8bdbf89e7b534f940885f0bc60993
-size 1713304
diff --git a/fwupd-1.5.2.tar.xz b/fwupd-1.5.2.tar.xz
new file mode 100644
index 0000000..c044a35
--- /dev/null
+++ b/fwupd-1.5.2.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:15a6677ad428763ad855614541f466b4d84ae41600593d390f9dfcb240e78ebb
+size 1722676
diff --git a/fwupd-bsc1130056-change-shim-path.patch b/fwupd-bsc1130056-change-shim-path.patch
index 5c6de28..a2a6e9c 100644
--- a/fwupd-bsc1130056-change-shim-path.patch
+++ b/fwupd-bsc1130056-change-shim-path.patch
@@ -10,17 +10,17 @@ Signed-off-by: Gary Lin
plugins/uefi/fu-uefi-bootmgr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
-Index: fwupd-1.4.0/plugins/uefi/fu-uefi-bootmgr.c
+Index: fwupd-1.5.2/plugins/uefi/fu-uefi-bootmgr.c
===================================================================
---- fwupd-1.4.0.orig/plugins/uefi/fu-uefi-bootmgr.c
-+++ fwupd-1.4.0/plugins/uefi/fu-uefi-bootmgr.c
-@@ -309,7 +309,8 @@ fu_uefi_bootmgr_bootnext (const gchar *e
+--- fwupd-1.5.2.orig/plugins/uefi/fu-uefi-bootmgr.c
++++ fwupd-1.5.2/plugins/uefi/fu-uefi-bootmgr.c
+@@ -274,7 +274,8 @@ fu_uefi_bootmgr_bootnext (FuDevice *devi
secure_boot = fu_efivar_secure_boot_enabled ();
if (secure_boot) {
/* test to make sure shim is there if we need it */
-- shim_app = fu_uefi_get_esp_app_path (esp_path, "shim", error);
+- shim_app = fu_uefi_get_esp_app_path (device, esp_path, "shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi",
-+ fu_uefi_get_esp_path_for_os (esp_path));
++ fu_uefi_get_esp_path_for_os (device, esp_path));
if (shim_app == NULL)
return FALSE;
diff --git a/fwupd.changes b/fwupd.changes
index 3d53a28..8ca47a0 100644
--- a/fwupd.changes
+++ b/fwupd.changes
@@ -1,3 +1,48 @@
+-------------------------------------------------------------------
+Fri Dec 4 06:14:47 UTC 2020 - Gary Ching-Pang Lin
+
+- Update to version 1.5.2:
+ + ata: Add OUI quirk for Toshiba
+ + libfwupd: Restore recognizing gpg and pkcs7 types still
+ + Register the SoupSession gtype when required
+ + Switch from libsoup to libcurl
+ + Fix sync method when called from threads without a context
+ + Move ABI check to Github actions
+ + Enable github workflows
+ + libfwupd: Add fwupd_client_download_file()
+ + libfwupd: Add fwupd_client_get_user_agent()
+ + Only download the remote metadata as required
+ + Add breaks for fwupdate 12-7 (Closes: #960688)
+ + Install modules-load configs in the correct directory
+ + vli: Do not be clever replugging the MSP430 device
+ + vli: Make some trivial debugging more specific to help debug
+ an issue
+ + make gcab optional
+ + Fall back to FAT32 internal partitions for detecting ESP
+ + Add a flag to indicate if packages are supported
+ + uefi: a new option for uefi configuration to use UEFI removable
+ path
+ + Add a section to man page on scripting
+ + synaptics-mst: Improve reliability by waiting 2 seconds after
+ writing data
+ + hailuck: Add an plugin for the Pinebook Pro laptop
+ + Allow setting global flags for FuHidDevice
+ + Set the SMBIOS chassis type to portable if a DT battery exists
+ + colorhug: Don't set the version format to triplet at startup
+ + Allow components to set the icon from the metadata
+ + colorhug: Fix detection of version on older firmware versions
+ + bcm57xx: Fix reading vendor/device ids from firmware.
+ + Remove HSI update and attestation suffixes
+ + trivial: make dbxtool executable to fix snap build
+ + Ignore an invalid vendor-id when adding releases for display
+ + Notify the service manager when idle-quitting
+- Refresh fwupd-bsc1130056-change-shim-path.patch
+- Changes in BuildRequires:
+ + Replace pkgconfig(libsoup-2.4) with pkgconfig(libcurl)
+ + Replace pkgconfig(systemd) with pkgconfig(libsystemd)
+- fwupd-msr.conf and fwupd-platform-integrity.conf are moved to
+ %{_modulesloaddir}.
+
-------------------------------------------------------------------
Mon Nov 16 07:01:08 UTC 2020 - Gary Ching-Pang Lin
diff --git a/fwupd.spec b/fwupd.spec
index 3d1e0bd..b62d908 100644
--- a/fwupd.spec
+++ b/fwupd.spec
@@ -30,7 +30,7 @@
%endif
Name: fwupd
-Version: 1.5.1
+Version: 1.5.2
Release: 0
Summary: Device firmware updater daemon
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@@ -85,12 +85,12 @@ BuildRequires: pkgconfig(gusb) >= 0.2.9
BuildRequires: pkgconfig(jcat) >= 0.1.3
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
BuildRequires: pkgconfig(libarchive)
+BuildRequires: pkgconfig(libcurl) >= 7.62.0
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libgcab-1.0) >= 1.0
-BuildRequires: pkgconfig(libsoup-2.4) >= 2.51.92
+BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
BuildRequires: pkgconfig(sqlite3)
-BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(tss2-esys) >= 2.0
BuildRequires: pkgconfig(udev)
BuildRequires: pkgconfig(valgrind)
@@ -316,9 +316,9 @@ fi
%{_mandir}/man1/fwupdtool.1%{?ext_man}
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
%ifarch %{ix86} x86_64
-%{_sysconfdir}/modules-load.d/fwupd-msr.conf
+%{_modulesloaddir}/fwupd-msr.conf
%endif
-%{_sysconfdir}/modules-load.d/fwupd-platform-integrity.conf
+%{_modulesloaddir}/fwupd-platform-integrity.conf
%config %{_sysconfdir}/%{name}/
%dir %{_sysconfdir}/pki
%dir %{_sysconfdir}/pki/fwupd