add Source1
This commit is contained in:
parent
79daaeb654
commit
ac0e35c585
2
config-util
Normal file
2
config-util
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
USER=root
|
||||||
|
UGROUPS=wheel
|
||||||
@ -1,10 +1,11 @@
|
|||||||
Name: usermode
|
Name: usermode
|
||||||
Version: 1.112
|
Version: 1.112
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: Tools for certain user account management tasks
|
Summary: Tools for certain user account management tasks
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://pagure.io/usermode/
|
URL: https://pagure.io/usermode/
|
||||||
Source: https://releases.pagure.org/usermode/usermode-%{version}.autotoolized.tar.xz
|
Source: https://releases.pagure.org/usermode/usermode-%{version}.autotoolized.tar.xz
|
||||||
|
Source1: config-util
|
||||||
|
|
||||||
Patch0000: Include-sys-sysmacros.h-manually.patch
|
Patch0000: Include-sys-sysmacros.h-manually.patch
|
||||||
Requires: pam passwd util-linux
|
Requires: pam passwd util-linux
|
||||||
@ -45,6 +46,8 @@ Package help includes man pages for usermode.
|
|||||||
%{__ln_s} usermount %{buildroot}%{_bindir}/userformat
|
%{__ln_s} usermount %{buildroot}%{_bindir}/userformat
|
||||||
%{__ln_s} usermount.1 %{buildroot}%{_mandir}/man1/userformat.1
|
%{__ln_s} usermount.1 %{buildroot}%{_mandir}/man1/userformat.1
|
||||||
|
|
||||||
|
install -D -p -m 644 %{SOURCE1} %{buildroot}/etc/security/console.apps/config-util
|
||||||
|
|
||||||
for i in openeuler-userinfo.desktop openeuler-userpasswd.desktop openeuler-usermount.desktop; do
|
for i in openeuler-userinfo.desktop openeuler-userpasswd.desktop openeuler-usermount.desktop; do
|
||||||
echo 'NotShowIn=GNOME;KDE;' >>%{buildroot}%{_datadir}/applications/$i
|
echo 'NotShowIn=GNOME;KDE;' >>%{buildroot}%{_datadir}/applications/$i
|
||||||
desktop-file-install --vendor openeuler --delete-original \
|
desktop-file-install --vendor openeuler --delete-original \
|
||||||
@ -61,12 +64,16 @@ done
|
|||||||
%{_datadir}/usermode
|
%{_datadir}/usermode
|
||||||
%{_datadir}/pixmaps/*
|
%{_datadir}/pixmaps/*
|
||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
|
%config(noreplace) /etc/security/console.apps/config-util
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.112-8
|
||||||
|
- Add Source1
|
||||||
|
|
||||||
* Sat Jan 4 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.112-7
|
* Sat Jan 4 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.112-7
|
||||||
- Delete redundant file
|
- Delete redundant file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user