[arch-commits] Commit in python-ovirt-engine-sdk/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Dec 30 05:44:32 UTC 2017


    Date: Saturday, December 30, 2017 @ 05:44:31
  Author: svenstaro
Revision: 276922

upgpkg: python-ovirt-engine-sdk 4.1.7-2

Add LICENSE

Modified:
  python-ovirt-engine-sdk/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-30 04:03:44 UTC (rev 276921)
+++ PKGBUILD	2017-12-30 05:44:31 UTC (rev 276922)
@@ -4,12 +4,12 @@
 pkgbase='python-ovirt-engine-sdk'
 pkgname=('python-ovirt-engine-sdk' 'python2-ovirt-engine-sdk')
 pkgver=4.1.7
-pkgrel=1
+pkgrel=2
 pkgdesc='Python access to the oVirt Engine API'
 arch=('x86_64')
 url='http://ovirt.org/develop/release-management/features/infra/python-sdk'
 makedepends=('python-setuptools' 'python2-setuptools' 'libxml2')
-license=('ASL 2.0')
+license=('custom')
 source=("http://resources.ovirt.org/pub/ovirt-4.1/src/python-ovirt-engine-sdk4/ovirt-engine-sdk-python-${pkgver}.tar.gz")
 sha512sums=('c36160f9037c99cdc50d144be9a3bfd5b3af75bfca3ef282ed3305a0ab81995f31d1096af1d8698b934b0ee40764003773ee93992bc08e5b636a8dbb03c55ada')
 
@@ -18,6 +18,8 @@
 
   cd "${srcdir}/ovirt-engine-sdk-python-${pkgver}"
   python setup.py install -O1 --root="${pkgdir}"
+
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }
 
 package_python2-ovirt-engine-sdk() {
@@ -25,4 +27,6 @@
 
   cd "${srcdir}/ovirt-engine-sdk-python-${pkgver}"
   python2 setup.py install -O1 --root="${pkgdir}"
+
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
 }



More information about the arch-commits mailing list