post script: fix tmpfiles_create macro argument [release 2.10.1-3mamba;Fri Dec 06 2024]

This commit is contained in:
Silvan Calarco 2024-12-06 19:25:48 +01:00
parent 9afc5846cd
commit 73d17f45e0
2 changed files with 5 additions and 16 deletions

View File

@ -1,6 +1,6 @@
Name: udisks
Version: 2.10.1
Release: 2mamba
Release: 3mamba
Summary: Storage Management Service
Group: System/Libraries
Vendor: openmamba
@ -8,13 +8,11 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://udisks.freedesktop.org
Source: https://github.com/storaged-project/udisks/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
Patch0: udisks2-1.93.0-define-missing-LOOP_CTL_GET_FREE.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libatasmart-devel
BuildRequires: libattr-devel
BuildRequires: libblkid-devel
BuildRequires: libblockdev-devel
BuildRequires: libglib-devel
@ -69,7 +67,6 @@ This package contains %{name} API documentation.
%prep
%setup -q -n udisks-%{version}
#%patch0 -p1
%build
%configure \
@ -87,7 +84,7 @@ This package contains %{name} API documentation.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%tmpfiles_create udisks2
%tmpfiles_create udisks2.conf
%systemd_post udisks2
:
@ -142,6 +139,9 @@ This package contains %{name} API documentation.
%{_datadir}/gtk-doc/html/udisks2/*
%changelog
* Fri Dec 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.1-3mamba
- post script: fix tmpfiles_create macro argument
* Sat Sep 09 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.1-2mamba
- fix udisks2 service name in post scripts

View File

@ -1,11 +0,0 @@
--- udisks-1.93.0.orig/src/udiskslinuxmanager.c 2012-03-05 17:04:03.000000000 +0100
+++ udisks-1.93.0/src/udiskslinuxmanager.c 2012-04-04 00:10:48.134381152 +0200
@@ -42,6 +42,8 @@
#include "udisksdaemonutil.h"
#include "udiskscleanup.h"
+#define LOOP_CTL_GET_FREE 0x4C82
+
/**
* SECTION:udiskslinuxmanager
* @title: UDisksLinuxManager