From 79daaeb6542f99a395bc5d32f837f33f99f8c73a Mon Sep 17 00:00:00 2001 From: openeuler-basic Date: Wed, 8 Jan 2020 14:31:11 +0800 Subject: [PATCH] delete redundant files --- ...s.patch => Include-sys-sysmacros.h-manually.patch | 12 ++++++++++++ config-util | 2 -- usermode.spec | 11 +++++------ 3 files changed, 17 insertions(+), 8 deletions(-) rename sysmacros.patch => Include-sys-sysmacros.h-manually.patch (51%) delete mode 100644 config-util diff --git a/sysmacros.patch b/Include-sys-sysmacros.h-manually.patch similarity index 51% rename from sysmacros.patch rename to Include-sys-sysmacros.h-manually.patch index 4ba8859..16e72c5 100644 --- a/sysmacros.patch +++ b/Include-sys-sysmacros.h-manually.patch @@ -1,3 +1,14 @@ +From c5a0bfd174e4a88fcd49fe7a130b37b6779c1a18 Mon Sep 17 00:00:00 2001 +From: Jiri Kucera +Date: Aug 07 2018 14:10:07 +0000 +Subject: Include manually + + +Inclusion of from +is now deprecated + +--- + diff --git a/usermount.c b/usermount.c index 3aafadd..5875c09 100644 --- a/usermount.c @@ -10,3 +21,4 @@ index 3aafadd..5875c09 100644 #include #include #include + diff --git a/config-util b/config-util deleted file mode 100644 index a6b9096..0000000 --- a/config-util +++ /dev/null @@ -1,2 +0,0 @@ -USER=root -UGROUPS=wheel diff --git a/usermode.spec b/usermode.spec index e0a8d43..52a3307 100644 --- a/usermode.spec +++ b/usermode.spec @@ -1,13 +1,12 @@ Name: usermode Version: 1.112 -Release: 6 +Release: 7 Summary: Tools for certain user account management tasks License: GPLv2+ URL: https://pagure.io/usermode/ Source: https://releases.pagure.org/usermode/usermode-%{version}.autotoolized.tar.xz -Source1: config-util -Patch0000: sysmacros.patch +Patch0000: Include-sys-sysmacros.h-manually.patch Requires: pam passwd util-linux BuildRequires: desktop-file-utils gettext intltool perl-XML-Parser util-linux BuildRequires: glib2-devel gtk2-devel libblkid-devel libSM-devel libselinux-devel libuser-devel @@ -46,8 +45,6 @@ Package help includes man pages for usermode. %{__ln_s} usermount %{buildroot}%{_bindir}/userformat %{__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 echo 'NotShowIn=GNOME;KDE;' >>%{buildroot}%{_datadir}/applications/$i desktop-file-install --vendor openeuler --delete-original \ @@ -59,7 +56,6 @@ done %files -f %{name}.lang %doc COPYING ChangeLog NEWS README -%config(noreplace) /etc/security/console.apps/config-util %attr(4711,root,root) /usr/sbin/userhelper %{_bindir}/* %{_datadir}/usermode @@ -71,6 +67,9 @@ done %{_mandir}/man8/* %changelog +* Sat Jan 4 2020 openEuler Buildteam - 1.112-7 +- Delete redundant file + * Tue Dec 31 2019 openEuler Buildteam - 1.112-6 - Delete unneeded patch -- Gitee