diff --git a/snapd.spec b/snapd.spec index b5d712a..89431cb 100644 --- a/snapd.spec +++ b/snapd.spec @@ -1,7 +1,7 @@ %define _gourl github.com/snapcore/snapd Name: snapd Version: 2.66.1 -Release: 1mamba +Release: 2mamba Summary: Background service that manages and maintains installed snaps Group: System/Management Vendor: openmamba @@ -15,6 +15,7 @@ License: GPL BuildRequires: glibc-devel BuildRequires: libapparmor-devel BuildRequires: libcap-devel +BuildRequires: libgcc BuildRequires: libseccomp-devel BuildRequires: libudev-devel ## AUTOBUILDREQ-END @@ -142,14 +143,14 @@ ln -s ../lib/snapd/snapctl %{buildroot}%{_bindir}/snapctl # pre-create directories install -dm755 %{buildroot}/var/lib/snapd/snap install -dm755 %{buildroot}/var/cache/snapd -install -dm755 %{buildroot}/var/lib/snapd/{apparmor,assertions,dbus-1/services,dbus-1/system-services,desktop/applications} +install -dm755 %{buildroot}/var/lib/snapd/{assertions,dbus-1/services,dbus-1/system-services,desktop/applications} install -dm755 %{buildroot}/var/lib/snapd/{device,hostfs,mount,seccomp/bpf,snap/bin,snaps,inhibit} install -dm755 %{buildroot}/var/lib/snapd/lib/{gl,gl32,vulkan,glvnd} # these dirs have special permissions install -dm111 %{buildroot}/var/lib/snapd/void install -dm700 %{buildroot}/var/lib/snapd/cookie install -dm700 %{buildroot}/var/lib/snapd/cache - + %makeinstall -C cmd # Install man file @@ -226,6 +227,7 @@ rm -fv %{buildroot}%{_prefix}/lib/snapd/system-shutdown %dir /var/lib/snapd/snap %dir /var/cache/snapd %dir /var/lib/snapd/apparmor +%dir /var/lib/snapd/apparmor/snap-confine %dir /var/lib/snapd/assertions %dir /var/lib/snapd/dbus-1/services %dir /var/lib/snapd/dbus-1/system-services @@ -247,6 +249,9 @@ rm -fv %{buildroot}%{_prefix}/lib/snapd/system-shutdown %doc COPYING %changelog +* Tue Dec 17 2024 Silvan Calarco 2.66.1-2mamba +- provide installed dir /var/lib/snapd/apparmor/snap-confine to fix requirement for apparmor script + * Wed Nov 13 2024 Automatic Build System 2.66.1-1mamba - automatic version update by autodist