aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macros.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index 496f2c8..6af84d8 100644
--- a/macros.in
+++ b/macros.in
@@ -73,7 +73,8 @@
%_multilibpatt (/%{_lib}|/usr/%{_lib}(|/gconv)|/usr/local/%{_lib}|/usr/X11R6/%{_lib}|/opt/%{_lib})/[^/]*\\.([oa]|la|so[0-9.]*)$
%_sysconfdir /etc
-%_localstatedir %_var/lib
+%_localstatedir %{_var}/lib
+%_logdir %{_var}/log
%_infodir /usr/share/info
%_mandir /usr/share/man
@@ -484,3 +485,9 @@
%perl_sitearch %(eval "`perl -V:installsitearch`"; echo $installsitearch)
%perl_archlib %(eval "`perl -V:installarchlib`"; echo $installarchlib)
+#--------------------------------------------------------------------------------
+# Macro from conectiva
+
+%rename() \
+Obsoletes: %{1} <= %{version}-%{release} \
+Provides: %{1} = %{version}-%{release}