diff --git a/passwd.spec b/passwd.spec index 71fdfdb..fe5c016 100644 --- a/passwd.spec +++ b/passwd.spec @@ -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 0.74-4 +- spec file cleanups + * Thu Apr 5 2007 Tomas Mraz 0.74-3 - use std buildroot, add dist tag (#226232)