[libvirt] [PATCH] spec: Delete .git after applying patches

Eric Blake eblake at redhat.com
Tue Oct 6 20:43:55 UTC 2015


On 10/06/2015 02:06 PM, Cole Robinson wrote:
> I'm hitting this little annoyance in fedora's package repo:
> 
> $ fedpkg prep
> Downloading libvirt-1.2.20.tar.gz
> ...
> + /usr/bin/gzip -dc /home/crobinso/src/fedora/libvirt/libvirt-1.2.20.tar.gz
> $ git clean -xdf
> Removing libvirt-1.2.20.tar.gz
> Skipping repository libvirt-1.2.20/
> 
> We git-ify the libvirt directory as part of applying patches in the spec
> file, but 'git clean' will ignore subfolders that appear to be standalone
> git repos.
> 
> Let's just delete the .git directory after we're done with it.
> ---
>  libvirt.spec.in | 1 +
>  1 file changed, 1 insertion(+)

Sounds good to me.  ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20151006/60319d3e/attachment-0001.sig>


More information about the libvir-list mailing list