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