modify openeuler to _vendor
(cherry picked from commit e54ee5ed1506ec30ea41c50a0668da6dbcc267b1)
This commit is contained in:
parent
f805bc1005
commit
cbf8ab9f48
@ -1,6 +1,6 @@
|
||||
Name: usermode
|
||||
Version: 1.114
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Tools for certain user account management tasks
|
||||
License: GPLv2+
|
||||
URL: https://pagure.io/usermode/
|
||||
@ -36,11 +36,11 @@ Package help includes man pages for usermode.
|
||||
|
||||
%build
|
||||
%configure --with-selinux
|
||||
%make_build VENDOR=openeuler
|
||||
%make_build VENDOR=%{_vendor}
|
||||
|
||||
|
||||
%install
|
||||
%make_install VENDOR=openeuler
|
||||
%make_install VENDOR=%{_vendor}
|
||||
|
||||
# make userformat symlink to usermount
|
||||
%{__ln_s} usermount %{buildroot}%{_bindir}/userformat
|
||||
@ -48,9 +48,9 @@ Package help includes man pages for usermode.
|
||||
|
||||
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 %{_vendor}-userinfo.desktop %{_vendor}-userpasswd.desktop %{_vendor}-usermount.desktop; do
|
||||
echo 'NotShowIn=GNOME;KDE;' >>%{buildroot}%{_datadir}/applications/$i
|
||||
desktop-file-install --vendor openeuler --delete-original \
|
||||
desktop-file-install --vendor %{_vendor} --delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
%{buildroot}%{_datadir}/applications/$i
|
||||
done
|
||||
@ -71,6 +71,9 @@ done
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 10 2023 yeqinglong <yeqinglong@kylinsec.com.cn> - 1.114-3
|
||||
- modify openeuler to _vendor
|
||||
|
||||
* Thu Oct 20 2022 zhouchenchen <zhouchenchen@huawei.com> - 1.114-2
|
||||
- update version to 1.114-2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user