From 40d12c80d5d466a6ae1a70bd7660c68ab7d53640 Mon Sep 17 00:00:00 2001 From: Colin Booth Date: Thu, 25 Mar 2021 23:10:59 -0700 Subject: [PATCH] cachefilesd: fix license --- srcpkgs/cachefilesd/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/cachefilesd/template b/srcpkgs/cachefilesd/template index 67b75a779d3..0100afaeb27 100644 --- a/srcpkgs/cachefilesd/template +++ b/srcpkgs/cachefilesd/template @@ -1,19 +1,19 @@ # Template file for 'cachefilesd' pkgname=cachefilesd version=0.10.10 -revision=1 +revision=2 build_style=gnu-makefile +make_install_args="SBINDIR=/usr/bin BINDIR=/usr/bin" short_desc="Userspace daemon acting as a backend for FS-Cache" maintainer="Enno Boland " -license="GPL-2" +license="GPL-2.0-or-later" homepage="https://people.redhat.com/~dhowells/fscache/" distfiles="http://people.redhat.com/~dhowells/fscache/${pkgname}-${version}.tar.bz2" -checksum=0d0309851efabd02b7c849f73535b8ad3f831570e83e4f65e42354da18e11a02 -make_install_args="SBINDIR=/usr/bin BINDIR=/usr/bin" conf_files="/etc/cachefilesd.conf" +checksum=0d0309851efabd02b7c849f73535b8ad3f831570e83e4f65e42354da18e11a02 -do_configure() { - sed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c +post_patch() { + vsed -i "s#/sbin/#/usr/bin/#g" cachefilesd.c } post_install() {