]> git.pld-linux.org Git - packages/rpm.git/blobdiff - rpm.macros
- kill invalid %{_sysconfdir} usage for _initrddir
[packages/rpm.git] / rpm.macros
index a44c14bb22d2fc62c82211dc229f1ac4aa251adf..fc657a3b959952b49b11b8933c266cecb155e918 100644 (file)
@@ -173,7 +173,7 @@ CXXFLAGS="%{rpmcxxflags}" \
 }
 
 #----------------------------------------------------------------
-%global configure_cache 0
+#%configure_cache 0
 %configure_cache_file  %{buildroot}.configure.cache
 
 %configure {./configure \
@@ -202,9 +202,17 @@ CXXFLAGS="%{rpmcxxflags}" \
        --infodir=%{_infodir} \
        --x-libraries=%{?_x_libraries}%{!?_x_libraries:%{_libdir}} \
        %{dependencytracking} \
-       %{?configure_cache:--cache-file=%{configure_cache_file:-%{buildroot}.configure.cache}} \
+       %{?configure_cache:--cache-file=%{configure_cache_file}} \
 }
 
+# overload to insert debuginfo package
+%prep \
+%if 0%{?_enable_debug_packages}\
+%{debug_package}\
+%endif\
+%%prep\
+%{nil}
+
 # Location of autoconf macros
 %_aclocaldir   %(aclocal --print-ac-dir)
 
This page took 0.02869 seconds and 4 git commands to generate.