fix rpmbuild
continuous-integration/drone/pr Build encountered an error Details

This commit is contained in:
Robert Kaussow 2021-10-23 17:55:43 +02:00
parent dae77c3048
commit d4515a3e39
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
1 changed files with 3 additions and 4 deletions

View File

@ -11,9 +11,8 @@ steps:
image: thegeeklab/rpmbuild:7
commands:
- source /drone/src/.drone.env
- mkdir -p /drone/src/source
- curl -sSL "https://github.com/OpenPrinting/cups/releases/download/$${CUPS_VERSION}/cups-$${CUPS_VERSION##v}-source.tar.gz" | tar xz -C /drone/src/source --strip-components=1
- cd /drone/src/source && make rpm
- wget -q "https://github.com/OpenPrinting/cups/releases/download/$${CUPS_VERSION}/cups-$${CUPS_VERSION##v}-source.tar.gz"
- rm -rf /etc/xinetd.d/ && rpmbuild -ta --without libusb1 cups-$${CUPS_VERSION##v}-source.tar.gz
- name: checksum
image: thegee
@ -93,6 +92,6 @@ depends_on:
---
kind: signature
hmac: b41b3fbbc1076a7a9d6680145b13494c05f686722bfaa5fd21278d1f3c7b3f51
hmac: 1ef9f6c7c212d894c1ae7f624c572ca1d4b0c52897a4a204fe466bc07bc70b3a
...