Add support for --runstatedir configure option

Update %configure macro to pass --runstatedir=%_runtimedir
option to configure.
Update %makeinstall macro to pass runstatedir=%buildroot%_runtimedir
argument to make.
This commit is contained in:
Дмитрий Левин 2021-08-24 08:00:00 +00:00
parent 25488ec95c
commit 9bed7dcbad

View File

@ -68,6 +68,7 @@
--libdir=%{_libdir} \\\ --libdir=%{_libdir} \\\
--libexecdir=%{_libexecdir} \\\ --libexecdir=%{_libexecdir} \\\
--localstatedir=%{_localstatedir} \\\ --localstatedir=%{_localstatedir} \\\
--runstatedir=%{_runtimedir} \\\
--sharedstatedir=%{_sharedstatedir} \\\ --sharedstatedir=%{_sharedstatedir} \\\
--mandir=%{_mandir} \\\ --mandir=%{_mandir} \\\
--infodir=%{_infodir} \\\ --infodir=%{_infodir} \\\
@ -88,6 +89,7 @@
libdir=%{?buildroot:%{buildroot}}%{_libdir} \\\ libdir=%{?buildroot:%{buildroot}}%{_libdir} \\\
libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \\\ libexecdir=%{?buildroot:%{buildroot}}%{_libexecdir} \\\
localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \\\ localstatedir=%{?buildroot:%{buildroot}}%{_localstatedir} \\\
runstatedir=%{?buildroot:%{buildroot}}%{_runtimedir} \\\
sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \\\ sharedstatedir=%{?buildroot:%{buildroot}}%{_sharedstatedir} \\\
mandir=%{?buildroot:%{buildroot}}%{_mandir} \\\ mandir=%{?buildroot:%{buildroot}}%{_mandir} \\\
infodir=%{?buildroot:%{buildroot}}%{_infodir} \\\ infodir=%{?buildroot:%{buildroot}}%{_infodir} \\\