Hi, the attached patch adds a %_rundir macro to the platform files. The default value is /run, it can be changed with the --with-rundir configure option.
Cheers, Michael. -- Michael Schroeder m...@suse.de SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--- configure.ac.orig 2014-04-25 13:32:02.431302024 +0000 +++ configure.ac 2014-04-25 13:38:11.659219953 +0000 @@ -826,6 +826,13 @@ AC_SUBST(RPMCANONVENDOR) AC_SUBST(RPMCANONOS) AC_SUBST(RPMCANONGNU) +RUNDIR="/run" +AC_ARG_WITH([rundir], + AS_HELP_STRING([--with-rundir=RUNDIR], [specify run-time variable directory]), + [RUNDIR=$withval]) +AC_DEFINE_UNQUOTED([RUNDIR],["${RUNDIR}"],[run-time variable directory]) +AC_SUBST(RUNDIR) + if test X"$prefix" = XNONE ; then usrprefix="$ac_default_prefix" else --- platform.in.orig 2014-04-25 13:32:10.431256505 +0000 +++ platform.in 2014-04-25 13:33:32.747791135 +0000 @@ -44,6 +44,7 @@ %_initddir %{_sysconfdir}/rc.d/init.d # Deprecated misspelling, present for backwards compatibility. %_initrddir %{_initddir} +%_rundir @RUNDIR@ %_defaultdocdir %{_datadir}/doc
_______________________________________________ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint