forked from pool/python-opengl-accelerate
- Adding _service file - Cleaning up Source0 declaration since PyPI doesn't have a tarball - Updating hash for 'accelerate/test' Source[1,2] - Adding code to %prep section to deal w/ how _service pulls down files for the gzip'd tarball - Update to 3.1.6 * Pulled directly from https://github.com/mcfletch/pyopengl since pypi.org (via py2pack fetch) doesn't have this version available. * Seems that some packages which use PyOpenGL and accelerate have a soft requirement that they're the same version. OBS-URL: https://build.opensuse.org/request/show/966568 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opengl-accelerate?expand=0&rev=18
28 lines
984 B
XML
28 lines
984 B
XML
<!--
|
|
# vim: set syntax=xml
|
|
-->
|
|
|
|
<services>
|
|
<service name="tar_scm" mode="disabled">
|
|
<param name="url">https://github.com/mcfletch/pyopengl</param>
|
|
<param name="scm">git</param>
|
|
<param name="include">accelerate</param>
|
|
<!-- INFO: This is latest revision as of 20220401
|
|
<param name="revision">227f9c66976d9f5dadf62b9a97e6beaec84831ca</param>
|
|
-->
|
|
<param name="versionformat">%h</param>
|
|
<!-- Not sure if it's because of a lack of tagging, etc
|
|
but this was the only hacky way I could make this work
|
|
Not sure if it's a limitation of 'obs-service-tar_scm'
|
|
or my understanding of it.
|
|
-->
|
|
<param name="versionrewrite-pattern">227f9c66</param>
|
|
<param name="versionrewrite-replacement">3.1.6</param>
|
|
<param name="filename">PyOpenGL-accelerate</param>
|
|
</service>
|
|
<service name="recompress" mode="disabled">
|
|
<param name="file">*.tar</param>
|
|
<param name="compression">gz</param>
|
|
</service>
|
|
</services>
|