From a6e939ca742c1f2d008923e498b24d9f9647aae4 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Feb 20 2024 13:18:31 +0000 Subject: Update to 2.61.2 Signed-off-by: Zygmunt Krynicki --- diff --git a/.gitignore b/.gitignore index 99cc85b..5d06100 100644 --- a/.gitignore +++ b/.gitignore @@ -100,3 +100,5 @@ /snapd_2.58.3.only-vendor.tar.xz /snapd_2.61.1.no-vendor.tar.xz /snapd_2.61.1.only-vendor.tar.xz +/snapd_2.61.2.no-vendor.tar.xz +/snapd_2.61.2.only-vendor.tar.xz diff --git a/snapd.spec b/snapd.spec index 80bd674..bb1c4d8 100644 --- a/snapd.spec +++ b/snapd.spec @@ -83,8 +83,8 @@ %{!?_tmpfilesdir: %global _tmpfilesdir %{_prefix}/lib/tmpfiles.d} Name: snapd -Version: 2.61.1 -Release: 2%{?dist} +Version: 2.61.2 +Release: 0%{?dist} Summary: A transactional software package manager License: GPLv3 URL: https://%{provider_prefix} @@ -169,6 +169,7 @@ License: GPLv3 BuildRequires: autoconf BuildRequires: autoconf-archive BuildRequires: automake +BuildRequires: make BuildRequires: libtool BuildRequires: gcc BuildRequires: gettext @@ -471,6 +472,8 @@ providing packages with %{import_path} prefix. %prep %if ! 0%{?with_bundled} %setup -q +# Ensure there's no bundled stuff accidentally leaking in... +rm -rf vendor/* %else # Extract each tarball properly %setup -q -D -b 1 @@ -488,7 +491,7 @@ mkdir -p src/github.com/snapcore ln -s ../../../ src/github.com/snapcore/snapd export GOPATH=$(pwd):%{gopath} -# remove the mod file, we are building without go modules support +# FIXME: move spec file really to a go.mod world instead of this hack rm -f go.mod export GO111MODULE=off @@ -686,11 +689,6 @@ rm %{buildroot}%{_libexecdir}/snapd/system-shutdown rm -f %{buildroot}%{_unitdir}/snapd.apparmor.service rm -f %{buildroot}%{_libexecdir}/snapd/snapd-apparmor -# Remove prompt services -rm %{buildroot}%{_unitdir}/snapd.aa-prompt-listener.service -rm %{buildroot}%{_userunitdir}/snapd.aa-prompt-ui.service -rm %{buildroot}%{_datadir}/dbus-1/services/io.snapcraft.Prompt.service - # Install Polkit configuration install -m 644 -D data/polkit/io.snapcraft.snapd.policy %{buildroot}%{_datadir}/polkit-1/actions @@ -747,6 +745,7 @@ export GOPATH=%{buildroot}/%{gopath}:%{gopath} %else export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %endif +# FIXME: we are in the go.mod world now but without this things fall apart export GO111MODULE=off %gotest %{import_path}/... %endif @@ -945,6 +944,26 @@ fi %changelog +* Fri Feb 16 2024 Ernest Lotter +- New upstream release 2.61.2 + - Fix to enable plug/slot sanitization for prepare-image + - Fix panic when device-service.access=offline + - Support offline remodeling + - Allow offline update only remodels without serial + - Fail early when remodeling to old model revision + - Fix to enable plug/slot sanitization for validate-seed + - Allow removal of core snap on classic systems + - Fix network-control interface denial for file lock on /run/netns + - Add well-known core24 snap-id + - Fix remodel snap installation order + - Prevent remodeling from UC18+ to UC16 + - Fix cups auto-connect on classic with cups snap installed + - u2f-devices interface support for GoTrust Idem Key with USB-C + - Fix to restore services after unlink failure + - Add libcudnn.so to Nvidia libraries + - Fix skipping base snap download due to false snapd downgrade + conflict + * Sun Feb 11 2024 Maxwell G - 2.61.1-2 - Rebuild for golang 1.22.0 diff --git a/sources b/sources index 753ce09..cabce25 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (snapd_2.61.1.no-vendor.tar.xz) = 22f4550604392b04dd4ca903ebabf5631e87a6e11ac3ee8c6afcdf59f18ae2244967e3c9f2da01ddda883f33385b2c9e39648e3a9199efad6df75fff1b7106f9 -SHA512 (snapd_2.61.1.only-vendor.tar.xz) = 74d1ae7a1430f6215d7b8af28b877cb1af0ffaf62d7b4d102aba4f94aa97d81275250c573faa3922e160cd5e2545ea16da0afdc270f855aa20293973c2b23033 +SHA512 (snapd_2.61.2.no-vendor.tar.xz) = f9d1e5777b48af0144f7c92de63f7669dc58296e63dae0156d67e37178fad3c50c860a1d41bab468da3640a4e827a2a0fc07c427984d4f290e5100fe0d2c9a0d +SHA512 (snapd_2.61.2.only-vendor.tar.xz) = 7463f4dc8e9ecaca682104ff1d32162452c12801eeb9b528a44e6a1267de0bfe998dcbd15c76af932c8fdb88a9358e7a921910d3293618b3e44e8b4d2c0e19aa