Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/usermode.git#da1e16cdeec56cde6d65e5f6abeab4a6bfba5a15
This commit is contained in:
DistroBaker 2021-02-04 21:56:20 +00:00
parent cf88afd043
commit d849fd9ae2

View File

@ -1,7 +1,7 @@
Summary: Tools for certain user account management tasks
Name: usermode
Version: 1.112
Release: 9%{?dist}
Release: 10%{?dist}
License: GPLv2+
URL: https://pagure.io/usermode/
Source: https://releases.pagure.org/usermode/usermode-%{version}.autotoolized.tar.xz
@ -17,6 +17,7 @@ Patch1: fsfaddr.patch
Patch2: selinux_deprecated.patch
Requires: pam, passwd, util-linux
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IJFYI5Q2BYZKIGDFS2WLOBDUSEGWHIKV/
BuildRequires: make
BuildRequires: gcc
BuildRequires: desktop-file-utils, gettext, glib2-devel, gtk2-devel, intltool
BuildRequires: libblkid-devel, libSM-devel, libselinux-devel, libuser-devel
@ -53,10 +54,10 @@ graphical tools for certain account management tasks.
%build
%configure --with-selinux
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%make_install INSTALL='install -p'
# make userformat symlink to usermount
ln -sf usermount $RPM_BUILD_ROOT%{_bindir}/userformat
@ -77,7 +78,8 @@ done
%find_lang %{name}
%files -f %{name}.lang
%doc COPYING ChangeLog NEWS README
%license COPYING
%doc ChangeLog NEWS README
%attr(4711,root,root) /usr/sbin/userhelper
%{_bindir}/consolehelper
%{_mandir}/man8/userhelper.8*
@ -102,6 +104,9 @@ done
%{_datadir}/applications/*
%changelog
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.112-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Wed Sep 09 2020 Jiri Kucera <jkucera@redhat.com> - 1.112-9
- Do not use deprecated selinux headers
Resolves #1865598