[26731] trunk/base/src/package1.0/portsrpm.tcl

source_changes at macosforge.org source_changes at macosforge.org
Thu Jul 5 07:43:16 PDT 2007


Revision: 26731
          http://trac.macosforge.org/projects/macports/changeset/26731
Author:   afb at macports.org
Date:     2007-07-05 07:43:15 -0700 (Thu, 05 Jul 2007)

Log Message:
-----------
don't write Epoch:0, don't kill auto-provides

Modified Paths:
--------------
    trunk/base/src/package1.0/portsrpm.tcl

Modified: trunk/base/src/package1.0/portsrpm.tcl
===================================================================
--- trunk/base/src/package1.0/portsrpm.tcl	2007-07-05 14:26:17 UTC (rev 26730)
+++ trunk/base/src/package1.0/portsrpm.tcl	2007-07-05 14:43:15 UTC (rev 26731)
@@ -173,9 +173,11 @@
 License: ${license}
 URL: ${homepage}
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Epoch: ${epoch}
 Source0: ${portname}-Portfile
 Source1: ${portname}-files.zip"
+    if {[expr ${epoch} != 0]} {
+	    puts $specfd "Epoch: ${epoch}"
+    }
     set first 2
     set count $first
     puts $specfd "#distfiles"
@@ -198,8 +200,7 @@
         }
         incr count
     }
-    puts $specfd ""
-    puts $specfd "AutoReqProv: no"
+    puts $specfd "AutoReq: no"
     if {[llength ${dependencies}] != 0} {
 	foreach require ${dependencies} {
 	    puts $specfd "BuildRequires: [regsub -all -- "\-" $require "_"]"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070705/566cfcb0/attachment.html


More information about the macports-changes mailing list