Description of problem: When using svn as SCM and --scm-option write_tar=True the generated tarball contains all the .svn subdirectories. Not a problem for build, but not nice Version-Release number of selected component (if applicable): mock-1.1.21-1.el6 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: In scm.py the line cmd = "tar czf " + tarball + " " + tardir should be replaced by cmd = "tar --exclude-vcs -czf " + tarball + " " + tardir at least when SCM is svn.
The reason for omitting --exclude-vcs option was that it is not available with RHEL 5 tar. Clark, perhaps you could do the above change to the git master only, not to the mock-1.0 branch, if feasible? Thanks.
I'll look at it and see how hard it would be to figure out if the option is available.
Created attachment 590856 [details] SCM: Use --exclude-vcs with tar where available It's actually easy to detect from tar --help output whether --exclude-vcs is supported or not. I think adding this is worth it.
Added to my work branch and queued for 1.1.31 release
mock-1.1.31-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc19
mock-1.1.31-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc17
mock-1.1.31-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.31-1.el6
mock-1.1.31-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mock-1.1.31-1.fc18
Package mock-1.1.31-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mock-1.1.31-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-5858/mock-1.1.31-1.fc19 then log in and leave karma (feedback).
mock-1.1.32-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc17
mock-1.1.32-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc18
mock-1.1.32-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/mock-1.1.32-1.el6
mock-1.1.32-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/mock-1.1.32-1.fc19
mock-1.1.32-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.32-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
mock-1.1.32-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.