2 Commits

Author SHA256 Message Date
e400758fb1 Update langs 2025-12-10 17:31:48 +01:00
8895ebbd0d Fix build tests 2025-12-10 17:17:21 +01:00
4 changed files with 35 additions and 11 deletions

View File

@@ -0,0 +1,24 @@
From f1039ba4877cd300fcc3710166214446418d5e69 Mon Sep 17 00:00:00 2001
From: Samuel Cabrero <scabrero@suse.com>
Date: Wed, 10 Dec 2025 17:14:29 +0100
Subject: [PATCH] Fix tests build
---
src/tests/test_common.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/tests/test_common.h b/src/tests/test_common.h
index aa51b23..1c18c78 100644
--- a/src/tests/test_common.h
+++ b/src/tests/test_common.h
@@ -35,6 +35,7 @@
#include <stddef.h>
#include <setjmp.h>
+#include <stdint.h>
#include <stdlib.h>
#include <cmocka.h>
--
2.52.0

View File

@@ -2,7 +2,7 @@
<service mode="manual" name="obs_scm">
<param name="url">https://github.com/authselect/authselect.git/</param>
<param name="versionformat">@PARENT_TAG@+git.@TAG_OFFSET@.%h</param>
<param name="revision">1.4.3</param>
<param name="revision">1.6.2</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Dec 10 16:15:44 UTC 2025 - Samuel Cabrero <scabrero@suse.de>
- Fix build tests, add patch 0002-Fix-tests-build.patch
-------------------------------------------------------------------
Mon Dec 04 16:37:50 UTC 2023 - dcermak@suse.com

View File

@@ -31,6 +31,7 @@ License: GPL-3.0-or-later
URL: https://github.com/authselect/authselect
Source0: %{name}-%{version}.tar.gz
Patch0: 0001-Adapt-authselect-for-the-etc-usr-etc-merge.patch
Patch2: 0002-Fix-tests-build.patch
BuildRequires: asciidoc
BuildRequires: autoconf
BuildRequires: automake
@@ -108,12 +109,6 @@ translate some of the authconfig calls into authselect calls. It provides
only minimum backward compatibility and users are encouraged to migrate
to authselect completely.
%package lang
Summary: Language translations for authselect
%description lang
This package contains the language translation files for authselect
%package -n %{devname}
Summary: Development libraries and headers for authselect
Group: Development/Libraries/Other
@@ -142,6 +137,8 @@ autoreconf -fiv
# Find translations
%find_lang %{name}
%find_lang %{name} %{name}.8.lang --with-man
%find_lang %{name}-migration %{name}-migration.7.lang --with-man
%find_lang %{name}-profiles %{name}-profiles.5.lang --with-man
# We want this file to contain only manual page translations
sed -i '/LC_MESSAGES/d' %{name}.8.lang
@@ -165,7 +162,7 @@ mv %{buildroot}%{_sysconfdir}/bash_completion.d/authselect-completion.sh %{build
%license COPYING
%{_libdir}/libauthselect.so.%{somajor}{,.*}
%files profiles
%files profiles -f %{name}.lang -f %{name}-profiles.5.lang
%dir %{_sysconfdir}/authselect
%dir %{_sysconfdir}/authselect/custom
%dir %{_localstatedir}/lib/authselect
@@ -238,9 +235,7 @@ mv %{buildroot}%{_sysconfdir}/bash_completion.d/authselect-completion.sh %{build
%{_libdir}/libauthselect.so
%{_libdir}/pkgconfig/authselect.pc
%files lang -f %{name}.lang -f %{name}.8.lang
%files
%files -f %{name}.8.lang -f %{name}-migration.7.lang
%{_bindir}/authselect
%{_mandir}/man8/authselect.8*
%{_mandir}/man7/authselect-migration.7*