remove tests which require module crypt (not available in python 3.13)
This commit is contained in:
parent
60b30ea951
commit
71c8ab5ebd
@ -24,6 +24,7 @@ Summary: A user and group account administration library
|
||||
License: LGPL-2.0-or-later
|
||||
URL: https://pagure.io/libuser
|
||||
Source0: %{url}/archive/%{name}-%{version}/%{name}-%{name}-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: remove-tests.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: gettext-tools
|
||||
BuildRequires: gtkdoc
|
||||
@ -89,7 +90,7 @@ BuildArch: noarch
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{name}-%{version}
|
||||
%autosetup -p1 -n %{name}-%{name}-%{version}
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
|
16
remove-tests.patch
Normal file
16
remove-tests.patch
Normal file
@ -0,0 +1,16 @@
|
||||
diff -rub libuser-libuser-0.64/Makefile.am libuser-libuser-0.64-patched/Makefile.am
|
||||
--- libuser-libuser-0.64/Makefile.am 2023-01-23 21:30:11.000000000 +0100
|
||||
+++ libuser-libuser-0.64-patched/Makefile.am 2025-03-10 14:51:41.714460031 +0100
|
||||
@@ -25,11 +25,8 @@
|
||||
|
||||
## Targets
|
||||
SUBDIRS = po docs
|
||||
-TESTS = tests/config_test.sh tests/fs_test tests/files_test tests/pwhash_test \
|
||||
+TESTS = tests/config_test.sh tests/fs_test tests/pwhash_test \
|
||||
tests/utils_test
|
||||
-if LDAP
|
||||
-TESTS += tests/default_pw_test tests/ldap_test
|
||||
-endif
|
||||
|
||||
EXTRA_DIST = \
|
||||
$(EXTRA_MANS) \
|
Loading…
x
Reference in New Issue
Block a user