From 8ec6e667ec74dbfac93f8bc234a8be495596c1fee7b976ce51e8c1100471ab72 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 4 May 2020 15:28:08 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Base:System/brp-check-suse?expand=0&rev=90 --- brp-check-suse.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/brp-check-suse.spec b/brp-check-suse.spec index 1b47139..ebb8dba 100644 --- a/brp-check-suse.spec +++ b/brp-check-suse.spec @@ -26,6 +26,7 @@ Requires: perl Version: 84.87+git20200504.ae1f610 Release: 0 URL: https://github.com/openSUSE/brp-check-suse +BuildRequires: gcc-c++ # # Note: don't rebuild this manually. Instead submit your patches # for inclusion in the git repo at https://github.com/openSUSE/brp-check-suse @@ -44,16 +45,21 @@ build root checking or in parts implemeting SUSE policies. %setup -q %build -# nothing to do +make -C prg-brp-symlink %install +install -D -m 755 prg-brp-symlink/brp-symlink $RPM_BUILD_ROOT/%_bindir/brp-symlink.prg install -d $RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d mv brp*data $RPM_BUILD_ROOT/usr/lib/rpm/ cp -a brp-* $RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d +%check +make -C prg-brp-symlink check + %files %defattr(-, root, root) %license COPYING /usr/lib/rpm/* +%_bindir/brp-symlink.prg %changelog