This commit is contained in:
parent
9c2058c2ad
commit
8ec6e667ec
@ -26,6 +26,7 @@ Requires: perl
|
|||||||
Version: 84.87+git20200504.ae1f610
|
Version: 84.87+git20200504.ae1f610
|
||||||
Release: 0
|
Release: 0
|
||||||
URL: https://github.com/openSUSE/brp-check-suse
|
URL: https://github.com/openSUSE/brp-check-suse
|
||||||
|
BuildRequires: gcc-c++
|
||||||
#
|
#
|
||||||
# Note: don't rebuild this manually. Instead submit your patches
|
# Note: don't rebuild this manually. Instead submit your patches
|
||||||
# for inclusion in the git repo at https://github.com/openSUSE/brp-check-suse
|
# 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
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# nothing to do
|
make -C prg-brp-symlink
|
||||||
|
|
||||||
%install
|
%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
|
install -d $RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d
|
||||||
mv brp*data $RPM_BUILD_ROOT/usr/lib/rpm/
|
mv brp*data $RPM_BUILD_ROOT/usr/lib/rpm/
|
||||||
cp -a brp-* $RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d
|
cp -a brp-* $RPM_BUILD_ROOT/usr/lib/rpm/brp-suse.d
|
||||||
|
|
||||||
|
%check
|
||||||
|
make -C prg-brp-symlink check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
%license COPYING
|
%license COPYING
|
||||||
/usr/lib/rpm/*
|
/usr/lib/rpm/*
|
||||||
|
%_bindir/brp-symlink.prg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user