From 7d49831301bd61439fc68c4dd877bbd797e1e765 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 24 Sep 2018 15:14:43 +0200 Subject: those macros are used at build time --- build.macros.in | 6 ++++++ macros.in | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/build.macros.in b/build.macros.in index 6a73367..c8899cc 100644 --- a/build.macros.in +++ b/build.macros.in @@ -137,6 +137,12 @@ GCONF_CONFIG_SOURCE=`%{_gconftool_bin} --get-default-source` %{_gconftool_bin} - %mkrel(c:) %{-c: 0.%{-c*}.}%{1}%{?subrel:.%subrel}%{?dist:%dist}%{?!dist:%__dist_ident}%([ "%{__distro_section}" != "core" ] && echo .%__distro_section) +%_logdir %{_var}/log +%_localstatedir /var + +%_pkgdocdir %{_docdir}/%{name} +%_docdir_fmt %%{NAME} + # Include minimal debug information in build binaries. # Requires _enable_debug_packages. # diff --git a/macros.in b/macros.in index b75a4d6..d0a1a00 100644 --- a/macros.in +++ b/macros.in @@ -57,9 +57,5 @@ %_mandir %_datadir/man %_defaultdocdir %_datadir/doc -%_localstatedir %{_var} -%_logdir %{_var}/log %_libexecdir %{_prefix}/libexec -%_pkgdocdir %{_docdir}/%{name} -%_docdir_fmt %%{NAME} -- cgit v1.2.1