Dne 30.9.2017 v 18:09 François Kooman napsal(a):
Hi,
I'm packaging a PHP library [1] that is hosted on GitHub and has a
.gitattributes file that uses export-ignore to not make the test suite
directory part of the archive. As I want to run the unit tests in %check
during package build, this is a bit of a problem. I see two approaches:
1. ask upstream to remove test suite directory from .gitattributes
(probably won't work);
2. git clone the source and make my own archive after throwing away
.gitattributes
3. Clone the repository and create the archive containing just the test
suite. I really want to be able to download the official pristine
upstream archive and I don't want to use any script for that.
Vít
Maybe there is a better way I don't know about yet :-)
Thanks,
François
[1]
https://github.com/paragonie/sodium_compat
_______________________________________________
packaging mailing list -- packaging(a)lists.fedoraproject.org
To unsubscribe send an email to packaging-leave(a)lists.fedoraproject.org