Browse Source

Use CFLAGS, and correct binary name and configuration file path

master
Michael Schloh von Bennewitz 23 years ago committed by Ralf S. Engelschall
parent
commit
1c38227979
  1. 5
      openpkg-rc/openpkg-rc.spec

5
openpkg-rc/openpkg-rc.spec

@ -58,6 +58,7 @@ AutoReqProv: no
%build
CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \
./configure \
--prefix=%{l_prefix}
%{l_make} %{l_mflags -O}
@ -70,9 +71,9 @@ AutoReqProv: no
$RPM_BUILD_ROOT%{l_prefix}/man/man5 \
$RPM_BUILD_ROOT%{l_prefix}/man/man8
%{l_shtool} install -s -c -m 755 \
rc $RPM_BUILD_ROOT%{l_prefix}/lib/openpkg/openpkg-rc
rc $RPM_BUILD_ROOT%{l_prefix}/lib/openpkg/
%{l_shtool} install -c -m 644 \
%{SOURCE rc.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/openpkg-rc/rc.fixme
%{SOURCE rc.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.fixme
%{l_shtool} install -c -m 644 \
-e 's;RC 1;RC 8;g' \
-e 's;rc\(.*\)(1);rc\1(8);g' \

Loading…
Cancel
Save