Merge pull request !11 from syyhao/next
This commit is contained in:
openeuler-ci-bot 2020-03-21 21:50:40 +08:00 committed by Gitee
commit b425c41ccd

View File

@ -1,6 +1,6 @@
Name: shadow
Version: 4.7
Release: 9
Release: 10
Epoch: 2
License: BSD and GPLv2+
Summary: Tools for managing accounts and shadow password files
@ -18,7 +18,7 @@ Patch4: shadow-utils-fix-lock-file-residue.patch
Patch5: shadow-utils-fix-invalid-path.patch
BuildRequires: gcc, libselinux-devel, audit-libs-devel, libsemanage-devel
BuildRequires: libacl-devel, libattr-devel
BuildRequires: libacl-devel, libattr-devel gdb
BuildRequires: bison, flex, gnome-doc-utils, docbook-style-xsl, docbook-dtds
BuildRequires: autoconf, automake, libtool, gettext-devel
Requires: libselinux
@ -130,9 +130,6 @@ find $RPM_BUILD_ROOT%{_mandir} -depth -type d -empty -delete
for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
lang=$(basename $dir)
# echo "%%lang($lang) $dir" >> shadow.lang
# echo "%%lang($lang) $dir/man*" >> shadow.lang
echo "%%lang($lang) $dir/man*/*" >> shadow.lang
done
%files -f shadow.lang
@ -164,6 +161,9 @@ done
%{_mandir}/*/*
%changelog
* Sat Mar 21 2020 openEuler Buildteam <buildteam@openEuler.org> - 2:4.7-10
- Only package man file into shadow-help; add buildrequires of gdb
* Tue Mar 17 2020 openEuler Buildteam <buildteam@openEuler.org> - 2:4.7-9
- Remove redundant file