View | Details | Raw Unified | Return to bug 36454
Collapse All | Expand All

(-)a/altlinux/syslog-ng.spec (+6 lines)
Lines 225-231 skip_submodules=1 ./autogen.sh Link Here
225
 --with-ivykis=system \
225
 --with-ivykis=system \
226
 --with-pidfile-dir=/var/run \
226
 --with-pidfile-dir=/var/run \
227
 --with-module-dir=%_libdir/%name \
227
 --with-module-dir=%_libdir/%name \
228
%if_enabled systemd
228
 --with-systemdsystemunitdir=%_unitdir \
229
 --with-systemdsystemunitdir=%_unitdir \
230
%endif
229
 --enable-ipv6 \
231
 --enable-ipv6 \
230
 --enable-dynamic-linking \
232
 --enable-dynamic-linking \
231
 --enable-spoof-source \
233
 --enable-spoof-source \
Lines 278-284 sed "s/@ver@/$VER/" -i altlinux/conf.d.example/*.conf Link Here
278
sed '/scl\/\*\/\*.conf/{s||%_datadir/%name/include/scl/*/*.conf|;h};${x;/./{x;q0};x;q1}' -i %buildroot%_sysconfdir/%name/scl.conf
280
sed '/scl\/\*\/\*.conf/{s||%_datadir/%name/include/scl/*/*.conf|;h};${x;/./{x;q0};x;q1}' -i %buildroot%_sysconfdir/%name/scl.conf
279
281
280
install -m640 -D -p altlinux/%name.sysconfig %buildroot%_sysconfdir/sysconfig/%name
282
install -m640 -D -p altlinux/%name.sysconfig %buildroot%_sysconfdir/sysconfig/%name
283
%if_enabled systemd
281
install -m644 -D -p altlinux/%name.service %buildroot%_unitdir/%name.service
284
install -m644 -D -p altlinux/%name.service %buildroot%_unitdir/%name.service
285
%endif
282
rm -f %buildroot%_unitdir/%{name}@.service
286
rm -f %buildroot%_unitdir/%{name}@.service
283
287
284
install -m644 -p config.h %buildroot%_includedir/%name
288
install -m644 -p config.h %buildroot%_includedir/%name
Lines 324-330 fi Link Here
324
%config(noreplace) %_sysconfdir/%name/%name.conf
328
%config(noreplace) %_sysconfdir/%name/%name.conf
325
%config(noreplace) %_sysconfdir/sysconfig/%name
329
%config(noreplace) %_sysconfdir/sysconfig/%name
326
%_initdir/%name
330
%_initdir/%name
331
%if_enabled systemd
327
%_unitdir/%name.service
332
%_unitdir/%name.service
333
%endif
328
334
329
/sbin/%name
335
/sbin/%name
330
/sbin/%name-ctl
336
/sbin/%name-ctl

Return to bug 36454