packages: systemd/systemd.spec - use lib because of problems on x86_64 install

Elan Ruusamäe glen at pld-linux.org
Tue Jan 17 17:49:17 CET 2012


On 17.01.2012 03:29, cactus wrote:
> Author: cactus                       Date: Tue Jan 17 01:29:20 2012 GMT
> Module: packages                      Tag: HEAD
> ---- Log message:
> - use lib because of problems on x86_64 install

revert this utter bullshit!

relocate in %install if you're unable to fix build system
>   %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}
> -%{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la
> +%{__rm} $RPM_BUILD_ROOT/lib/security/pam_systemd.la
>   %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
>
>   %clean
> @@ -411,7 +411,7 @@
>   %attr(664,root,utmp) %ghost /var/log/wtmp
>
>   %if %{with pam}
> -%attr(755,root,root) /%{_lib}/security/pam_systemd.so
> +%attr(755,root,root) /lib/security/pam_systemd.so
>   %{_mandir}/man8/pam_systemd.8*
>   %endif
>

pam needs to be in /%{_lib}/security/  or IT WILL NOT WORK for your %arch

-- 
glen



More information about the pld-devel-en mailing list