1
0
forked from pool/authselect

1 Commits

Author SHA256 Message Date
Elisei Roca
9830809966 Add package in leap-16.0 2025-12-08 10:23:12 +01:00
4 changed files with 11 additions and 35 deletions

View File

@@ -1,24 +0,0 @@
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.6.2</param>
<param name="revision">1.4.3</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
</service>

View File

@@ -1,8 +1,3 @@
-------------------------------------------------------------------
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,7 +31,6 @@ 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
@@ -109,6 +108,12 @@ 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
@@ -137,8 +142,6 @@ 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
@@ -162,7 +165,7 @@ mv %{buildroot}%{_sysconfdir}/bash_completion.d/authselect-completion.sh %{build
%license COPYING
%{_libdir}/libauthselect.so.%{somajor}{,.*}
%files profiles -f %{name}.lang -f %{name}-profiles.5.lang
%files profiles
%dir %{_sysconfdir}/authselect
%dir %{_sysconfdir}/authselect/custom
%dir %{_localstatedir}/lib/authselect
@@ -235,7 +238,9 @@ mv %{buildroot}%{_sysconfdir}/bash_completion.d/authselect-completion.sh %{build
%{_libdir}/libauthselect.so
%{_libdir}/pkgconfig/authselect.pc
%files -f %{name}.8.lang -f %{name}-migration.7.lang
%files lang -f %{name}.lang -f %{name}.8.lang
%files
%{_bindir}/authselect
%{_mandir}/man8/authselect.8*
%{_mandir}/man7/authselect-migration.7*