#12631: Get rid of spkg/base/dir-0.1-install
----------------------------------+-----------------------------------------
       Reporter:  jdemeyer        |         Owner:  GeorgSWeber
           Type:  defect          |        Status:  new        
       Priority:  major           |     Milestone:  sage-5.0   
      Component:  build           |    Resolution:             
       Keywords:                  |   Work issues:             
Report Upstream:  N/A             |     Reviewers:             
        Authors:  Jeroen Demeyer  |     Merged in:             
   Dependencies:  #12102, #12311  |      Stopgaps:             
----------------------------------+-----------------------------------------

Comment (by jdemeyer):

 I added the following patch to SAGE_ROOT's `spkg-install` (this ensures
 that upgraded Sage versions don't have untracked files):
 {{{
 #!diff
 --- a/spkg/root-spkg-install
 +++ b/spkg/root-spkg-install
 @@ -14,8 +14,10 @@

  # Remove the spkg/base repository, this is needed for upgrading from
  # Sage versions 4.x, see Trac #11073.
 +# Also remove files for "dir" (see #12631) and "bzip2" (see #12102),
 +# which are no longer base packages.
  cd "$SAGE_ROOT/spkg/base" && \
 -rm -rf .hg* json_bundle.py stdint.h_Solaris9 sage-* text-* *.sh
 +rm -rf .hg* json_bundle.py stdint.h_Solaris9 sage-* text-* *.sh dir-*
 bzip2-*

  TARGET="$SAGE_ROOT"
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12631#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to