only package man files into shadow-help
This commit is contained in:
parent
789f877c7b
commit
ce2808c402
10
shadow.spec
10
shadow.spec
@ -1,6 +1,6 @@
|
|||||||
Name: shadow
|
Name: shadow
|
||||||
Version: 4.7
|
Version: 4.7
|
||||||
Release: 9
|
Release: 10
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: BSD and GPLv2+
|
License: BSD and GPLv2+
|
||||||
Summary: Tools for managing accounts and shadow password files
|
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
|
Patch5: shadow-utils-fix-invalid-path.patch
|
||||||
|
|
||||||
BuildRequires: gcc, libselinux-devel, audit-libs-devel, libsemanage-devel
|
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: bison, flex, gnome-doc-utils, docbook-style-xsl, docbook-dtds
|
||||||
BuildRequires: autoconf, automake, libtool, gettext-devel
|
BuildRequires: autoconf, automake, libtool, gettext-devel
|
||||||
Requires: libselinux
|
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
|
for dir in $(ls -1d $RPM_BUILD_ROOT%{_mandir}/{??,??_??}) ; do
|
||||||
dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
|
dir=$(echo $dir | sed -e "s|^$RPM_BUILD_ROOT||")
|
||||||
lang=$(basename $dir)
|
lang=$(basename $dir)
|
||||||
# echo "%%lang($lang) $dir" >> shadow.lang
|
|
||||||
# echo "%%lang($lang) $dir/man*" >> shadow.lang
|
|
||||||
echo "%%lang($lang) $dir/man*/*" >> shadow.lang
|
|
||||||
done
|
done
|
||||||
|
|
||||||
%files -f shadow.lang
|
%files -f shadow.lang
|
||||||
@ -164,6 +161,9 @@ done
|
|||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Mar 17 2020 openEuler Buildteam <buildteam@openEuler.org> - 2:4.7-9
|
||||||
- Remove redundant file
|
- Remove redundant file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user