fix rpmlint issues

This commit is contained in:
Peter Vrabec 2006-12-14 13:25:19 +00:00
parent 85c26f5b73
commit b7ef4b2857
1 changed files with 8 additions and 5 deletions

View File

@ -2,10 +2,10 @@
%define WITH_SELINUX 1
%endif
Summary: Utilities for managing accounts and shadow password files.
Summary: Utilities for managing accounts and shadow password files
Name: shadow-utils
Version: 4.0.18.1
Release: 6%{?dist}
Release: 7%{?dist}
Epoch: 2
URL: http://shadow.pld.org.pl/
Source0: ftp://ftp.pld.org.pl/software/shadow/shadow-%{version}.tar.bz2
@ -33,7 +33,6 @@ BuildRequires: audit-libs-devel >= 1.0.10
Buildroot: %{_tmppath}/%{name}-%{version}-root
Requires: libselinux >= 1.25.2-1
Requires: audit-libs >= 1.0.10
Obsoletes: adduser
%description
The shadow-utils package includes the necessary programs for
@ -97,7 +96,8 @@ install -c -m 0600 %{SOURCE2} $RPM_BUILD_ROOT/etc/default/useradd
ln -s useradd $RPM_BUILD_ROOT%{_sbindir}/adduser
ln -s %{_mandir}/man8/useradd.8 $RPM_BUILD_ROOT/%{_mandir}/man8/adduser.8
#ln -s %{_mandir}/man8/useradd.8 $RPM_BUILD_ROOT/%{_mandir}/man8/adduser.8
ln -s useradd.8 $RPM_BUILD_ROOT/%{_mandir}/man8/adduser.8
for subdir in $RPM_BUILD_ROOT/%{_mandir}/{??,??_??,??_??.*}/man* ; do
test -d $subdir && test -e $subdir/useradd.8 && echo ".so man8/useradd.8" > $subdir/adduser.8
done
@ -162,7 +162,7 @@ rm -rf $RPM_BUILD_ROOT
%doc NEWS doc/HOWTO README
%dir /etc/default
%attr(0644,root,root) %config(noreplace) /etc/login.defs
%attr(0600,root,root) %config /etc/default/useradd
%attr(0600,root,root) %config(noreplace) /etc/default/useradd
%{_bindir}/sg
%{_bindir}/chage
%{_bindir}/faillog
@ -219,6 +219,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/man8/faillog.8*
%changelog
* Thu Dec 14 2006 Peter Vrabec <pvrabec@redhat.com> 2:4.0.18.1-7
- fix rpmlint issues
* Wed Dec 06 2006 Peter Vrabec <pvrabec@redhat.com> 2:4.0.18.1-6
- use MD5 encryption by default (#218629).