- spec file cleanups

This commit is contained in:
Tomáš Mráz 2007-08-22 20:45:50 +00:00
parent af2b49352a
commit 6b4d7e3772

View File

@ -7,7 +7,7 @@
Summary: The passwd utility for setting/changing passwords using PAM
Name: passwd
Version: 0.74
Release: 3%{?dist}
Release: 4%{?dist}
License: BSD
Group: System Environment/Base
Source: %{name}-%{version}.tar.bz2
@ -44,20 +44,23 @@ make DEBUG= RPM_OPT_FLAGS="$RPM_OPT_FLAGS" \
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT bindir=%{_bindir} mandir=%{_mandir}
install -m 755 -d $RPM_BUILD_ROOT/etc/pam.d/
install -m 644 passwd.pamd $RPM_BUILD_ROOT/etc/pam.d/passwd
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/
install -m 644 passwd.pamd $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/passwd
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root)
%config(noreplace) /etc/pam.d/passwd
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/pam.d/passwd
%attr(4755,root,root) %{_bindir}/passwd
%{_mandir}/man1/passwd.1*
%changelog
* Wed Aug 22 2007 Tomas Mraz <tmraz@redhat.com> 0.74-4
- spec file cleanups
* Thu Apr 5 2007 Tomas Mraz <tmraz@redhat.com> 0.74-3
- use std buildroot, add dist tag (#226232)