various fixes for Leap 15/16 #1
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 16:57:03 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
|
||||
|
||||
- add support for Leap 15.6
|
||||
- use make macro
|
||||
- fix Leap16
|
||||
- disable tests for Leap16, as openldap-server is missing and crpyt
|
||||
will be removed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 2 08:56:41 UTC 2025 - Richard Rahl <rrahl0@opensuse.org>
|
||||
|
||||
|
20
libuser.spec
20
libuser.spec
@ -28,14 +28,25 @@ BuildRequires: bison
|
||||
BuildRequires: gettext-tools
|
||||
BuildRequires: gtkdoc
|
||||
BuildRequires: libtool
|
||||
BuildRequires: selinux-policy-devel
|
||||
BuildRequires: sgmltool
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{?suse_version} >= 1600
|
||||
BuildRequires: selinux-policy-devel
|
||||
%else
|
||||
BuildRequires: libselinux-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} == 1600
|
||||
BuildRequires: selinux-policy-targeted
|
||||
%endif
|
||||
BuildRequires: sgmltool
|
||||
BuildRequires: pkgconfig(audit)
|
||||
BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(ldap)
|
||||
BuildRequires: pkgconfig(libsasl2)
|
||||
%if 0%{?suse_version} >= 1600
|
||||
BuildRequires: pkgconfig(pam)
|
||||
%else
|
||||
BuildRequires: pam-devel
|
||||
%endif
|
||||
BuildRequires: pkgconfig(popt)
|
||||
BuildRequires: pkgconfig(python3)
|
||||
|
||||
@ -89,15 +100,18 @@ BuildArch: noarch
|
||||
--with-sasl \
|
||||
--with-python \
|
||||
--enable-gtk-doc
|
||||
make
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%find_lang %{name}
|
||||
find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete
|
||||
|
||||
%if 0%{?suse_version} != 1600
|
||||
# Leap16.0 doesn't have openldap-server and with python313 the crypt module is missing
|
||||
%check
|
||||
%make_build check
|
||||
%endif
|
||||
|
||||
%ldconfig_scriptlets -n %{name}%{sover}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user