[26706] trunk/dports/sysutils/rpm/files/patch-macros.in

source_changes at macosforge.org source_changes at macosforge.org
Wed Jul 4 12:54:03 PDT 2007


Revision: 26706
          http://trac.macosforge.org/projects/macports/changeset/26706
Author:   afb at macports.org
Date:     2007-07-04 12:54:03 -0700 (Wed, 04 Jul 2007)

Log Message:
-----------
some missing prefixes to /var

Modified Paths:
--------------
    trunk/dports/sysutils/rpm/files/patch-macros.in

Modified: trunk/dports/sysutils/rpm/files/patch-macros.in
===================================================================
--- trunk/dports/sysutils/rpm/files/patch-macros.in	2007-07-04 19:45:43 UTC (rev 26705)
+++ trunk/dports/sysutils/rpm/files/patch-macros.in	2007-07-04 19:54:03 UTC (rev 26706)
@@ -42,6 +42,15 @@
  
  #
  # Export package NEVRA (stamped with install tid) info for HRMIB on this path.
+@@ -670,7 +670,7 @@
+ # Export package NEVRA (stamped with install tid) info for HRMIB on this path.
+ #
+ # XXX	Note: escaped %% for use in headerSprintf()
+-%_hrmib_path	/var/cache/hrmib/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}
++%_hrmib_path	@prefix@/var/cache/hrmib/%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}
+ 
+ #==============================================================================
+ # ---- GPG/PGP/PGP5 signature macros.
 @@ -757,11 +757,11 @@
  #	The path to the dependency universe database. The default value
  #	is the rpmdb-vendor location. The macro is usually defined in
@@ -56,6 +65,33 @@
  
  #	The output binary package file name template used when suggesting
  #	binary packages that solve a dependency. The macro is usually defined
+@@ -779,7 +779,7 @@
+ 
+ #	The directory in which erased packages will be saved when using
+ #	the --repackage option.
+-%_repackage_dir		/var/spool/repackage
++%_repackage_dir		@prefix@/var/spool/repackage
+ 
+ #	A path (i.e. URL) prefix that is pre-pended to %{_repackage_dir}.
+ %_repackage_root	%{nil}
+@@ -910,7 +910,7 @@
+ %_rpmds_perldeps_cmd	%{__find} %{_libdir}/perl5 | %{_usrlibrpm}/perl.prov
+ 
+ #
+-%_varrun		/var/run
++%_varrun		@prefix@/var/run
+ 
+ #==============================================================================
+ # ---- Cache configuration macros.
+@@ -935,7 +935,7 @@
+ %_bhA           %{nil}
+ 
+ #	The cache database directory.
+-%_cache_dbpath		/var/cache/yum/rpmdb
++%_cache_dbpath		@prefix@/var/cache/yum/rpmdb
+ 
+ #==============================================================================
+ # ---- per-platform macros.
 @@ -1147,7 +1147,7 @@
  %_lib			lib
  %_libdir		%{_exec_prefix}/%{_lib}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070704/1544f9ea/attachment.html


More information about the macports-changes mailing list