aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 15:14:43 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2018-09-24 15:20:32 +0200
commit7d49831301bd61439fc68c4dd877bbd797e1e765 (patch)
tree01853c0ec66bb59c2d38f72ec61327b4ffb2d575
parent17753971cba1538db6027234c5c557aa458f1389 (diff)
downloadrpm-setup-7d49831301bd61439fc68c4dd877bbd797e1e765.tar
rpm-setup-7d49831301bd61439fc68c4dd877bbd797e1e765.tar.gz
rpm-setup-7d49831301bd61439fc68c4dd877bbd797e1e765.tar.bz2
rpm-setup-7d49831301bd61439fc68c4dd877bbd797e1e765.tar.xz
rpm-setup-7d49831301bd61439fc68c4dd877bbd797e1e765.zip
those macros are used at build time
-rw-r--r--build.macros.in6
-rw-r--r--macros.in4
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}