Tom Stellard 5 years ago committed by Miroslav Lichvar
parent 56d1937abd
commit 9505fcee96

@ -99,12 +99,12 @@ KDE session.
## Fix RPATH hardcoding. ## Fix RPATH hardcoding.
sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool
sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool sed -ie 's|^runpath_var=LD_RUN_PATH$|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags} %make_build
gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS -o setlayout %{SOURCE1} -lX11 gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS -o setlayout %{SOURCE1} -lX11
%install %install
make install DESTDIR=%{buildroot} %make_install
install setlayout %{buildroot}%{_bindir} install setlayout %{buildroot}%{_bindir}
install -p %{SOURCE2} %{buildroot}%{_libexecdir}/openbox-xdg-menu install -p %{SOURCE2} %{buildroot}%{_libexecdir}/openbox-xdg-menu

Loading…
Cancel
Save