#3338: [patch] build_rpm throws 'File listed twice' errors
-----------------------------------------------------+----------------------
   Reporter:  Dirk Datzert <[EMAIL PROTECTED]>  |                Owner:  jacob  
      
     Status:  new                                    |            Component:  
Uncategorized
    Version:  SVN                                    |           Resolution:    
           
   Keywords:  build_rpm                              |                Stage:  
Accepted     
  Has_patch:  1                                      |           Needs_docs:  0 
           
Needs_tests:  0                                      |   Needs_better_patch:  0 
           
-----------------------------------------------------+----------------------
Changes (by Gary Wilson <[EMAIL PROTECTED]>):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Accepted
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 When I try running `python setup.py bdist_rpm`, I get the following error:
 
 {{{
 tar -cf dist/Django-0.96-pre.tar Django-0.96-pre
 gzip -f9 dist/Django-0.96-pre.tar
 removing 'Django-0.96-pre' (and everything under it)
 copying dist/Django-0.96-pre.tar.gz -> build/bdist.linux-i686/rpm/SOURCES
 building RPMs
 rpmbuild -ba --define _topdir /home/gdub/bzr/django/build_rpm-
 3338/build/bdist.linux-i686/rpm --clean build/bdist.linux-
 i686/rpm/SPECS/Django.spec
 error: File /home/gdub/bzr/django/build_rpm-3338/build/bdist.linux-
 i686/rpm/SOURCES/Django-0.96_pre.tar.gz: No such file or directory
 error: command 'rpmbuild' failed with exit status 1
 }}}
 
 It appears that the version set in the spec file is `0.96_pre`, and can't
 file the tar file with this name.  Instead it's getting named
 `./build/bdist.linux-i686/rpm/SOURCES/Django-0.96-pre.tar.gz`.  I've never
 built a python package into an RPM.  Do you know what's going on here?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/3338#comment:1>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to