#13 snapd: update to 2.45.3.1, fix FTBFS on Rawhide
Merged 3 years ago by ngompa. Opened 3 years ago by bboozzoo.
rpms/ bboozzoo/snapd bboozzoo/update-2.45.3.1  into  master

file modified
+2
@@ -54,3 +54,5 @@ 

  /snapd_2.45.1.only-vendor.tar.xz

  /snapd_2.45.2.no-vendor.tar.xz

  /snapd_2.45.2.only-vendor.tar.xz

+ /snapd_2.45.3.1.no-vendor.tar.xz

+ /snapd_2.45.3.1.only-vendor.tar.xz

file modified
+36 -6
@@ -59,18 +59,18 @@ 

  %global snappy_user_svcs snapd.session-agent.service snapd.session-agent.socket

  

  # Until we have a way to add more extldflags to gobuild macro...

+ # Trigger external linker manually, otherwise -extldflags have no meaning.

  %if 0%{?fedora} || 0%{?rhel} >= 8

- # buildmode PIE triggers external linker consumes -extldflags

- %define gobuild_static(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags -static'" -a -v -x %{?**};

+ %define gobuild_static(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags -static'" -a -v -x %{?**};

  %endif

  %if 0%{?rhel} == 7

- # trigger external linker manually, otherwise -extldflags have no meaning

+ # no pass PIE flags due to https://bugzilla.redhat.com/show_bug.cgi?id=1634486

  %define gobuild_static(o:) go build -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags -static'" -a -v -x %{?**};

  %endif

  

  # These macros are missing BUILDTAGS in RHEL 8, see RHBZ#1825138

  %if 0%{?rhel} == 8

- %define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -extldflags '%__global_ldflags'" -a -v -x %{?**};

+ %define gobuild(o:) go build -buildmode pie -compiler gc -tags="rpm_crashtraceback ${BUILDTAGS:-}" -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n') -linkmode external -extldflags '%__global_ldflags'" -a -v -x %{?**};

  %endif

  

  # These macros are not defined in RHEL 7
@@ -85,8 +85,8 @@ 

  %{!?_systemd_system_env_generator_dir: %global _systemd_system_env_generator_dir %{_prefix}/lib/systemd/system-environment-generators}

  

  Name:           snapd

- Version:        2.45.2

- Release:        3%{?dist}

+ Version:        2.45.3.1

+ Release:        1%{?dist}

  Summary:        A transactional software package manager

  License:        GPLv3

  URL:            https://%{provider_prefix}
@@ -890,6 +890,10 @@ 

  

  

  %changelog

+ * Tue Aug  4 2020 Maciek Borzecki <maciek.borzecki@gmail.com> - 2.45.3.1-1

+ - Release 2.45.3.1 to Fedora (RHBZ#1861024)

+ - Fix FTBFS in Rawhide (RHBZ#1865496)

+ 

  * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.45.2-3

  - Second attempt - Rebuilt for

    https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
@@ -897,6 +901,32 @@ 

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.45.2-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

  

+ * Tue Jul 28 2020 Samuele Pedroni <pedronis@lucediurna.net>

+ - New upstream release, LP: #1875071

+   - o/ifacestate: fix bug in snapsWithSecurityProfiles

+   - tests/main/selinux-clean: workaround SELinux denials triggered by

+     linger setup on Centos8

+ 

+ * Mon Jul 27 2020 Zygmunt Krynicki <me@zygoon.pl>

+ - New upstream release, LP: #1875071

+   - many: backport _writable_defaults dir changes

+   - tests: fix incorrect check in smoke/remove test

+   - cmd/snap-bootstrap,seed: backport of uc20 PRs

+   - tests: avoid exit when nested type var is not defined

+   - cmd/snap-preseed: backport fixes

+   - interfaces: optimize rules of multiple connected iio/i2c/spi plugs

+   - many: cherry-picks for 2.45, gh-action, test fixes

+   - tests/lib: account for changes in arch package file name extension

+   - postrm, snap-mgmt: cleanup modules and other cherry-picks

+   - snap-confine: don't die if a device from sysfs path cannot be

+     found by udev

+   - data/selinux: update policy to allow forked processes to call

+     getpw*()

+   - tests/main/interfaces-time-control: exercise setting time via date

+   - interfaces/builtin/time-control: allow POSIX clock API

+   - usersession/userd: add "slack" to the white list of URL schemes

+     handled by xdg-open

+ 

  * Wed Jul 15 2020 Maciek Borzecki <maciek.borzecki@gmail.com> - 2.45.2-1

  - release 2.45.2 to Fedora

  

file modified
+2 -2
@@ -1,2 +1,2 @@ 

- SHA512 (snapd_2.45.2.no-vendor.tar.xz) = 9ece930f271c822f57ea053d97f75ac3751e560dd6b0eff91f23f5cf7e7633ce99d2fcc5feebe05eb2c38f1e9f2cf1502a1f45ebe5899008e224623abad02fb1

- SHA512 (snapd_2.45.2.only-vendor.tar.xz) = 45dfd28b0da0ee8065de6f9d4a3c3c20f09cdec05710da1501e4fe22640a6817d083a22acf87d565df1aadb10b6cb0e633b289d89f96ef206cca359e5cec9cf3

+ SHA512 (snapd_2.45.3.1.no-vendor.tar.xz) = f10983c44be78f6e6c1c1e2bc3153c3f8d82baf7fe80ede424c1d15550d3330bd09542b3f680c39093ebcfde8ddcb0e5e0010ab9e961b916699b492ae04d5a14

+ SHA512 (snapd_2.45.3.1.only-vendor.tar.xz) = e8529fd28a551207294a839b3674d1468c763a43c534d61d76eceeec7a60627ac66fd7e89f209b7c056502c5da8616e8c9df2a46bfe1684c6e6fbf1643b0c371