From 2735326b579fe33dcb1011dac574e1c66bea48ea Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 14 Dec 2019 06:40:28 +0000 Subject: [PATCH] Fix some rpmdiff errors --- lld.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lld.spec b/lld.spec index d6337aa..2c8e74b 100644 --- a/lld.spec +++ b/lld.spec @@ -1,5 +1,5 @@ #%%global rc_ver 3 -%global baserelease 5 +%global baserelease 6 %global lld_srcdir lld-%{version}%{?rc_ver:rc%{rc_ver}}.src %global maj_ver 9 @@ -66,6 +66,7 @@ Summary: LLD regression tests Requires: %{name}%{?_isa} = %{version}-%{release} Requires: python3-lit Requires: llvm-test(major) = %{maj_ver} +Requires: lld-libs = %{version}-%{release} %description test LLVM regression tests. @@ -138,6 +139,7 @@ cd %{_target_platform} # Remove rpath chrpath --delete %{buildroot}%{_bindir}/* chrpath --delete %{buildroot}%{_libdir}/*.so* +chrpath --delete `find %{buildroot}%{_libdir}/lld/ -type f` # Required when using update-alternatives: # https://docs.fedoraproject.org/en-US/packaging-guidelines/Alternatives/ @@ -181,6 +183,9 @@ make -C %{_target_platform} %{?_smp_mflags} check-lld %{_datadir}/lld/lit.lld-test.cfg.py %changelog +* Sat Dec 14 2019 Tom Stellard - 9.0.0-6 +- Fix some rpmdiff errors + * Fri Dec 13 2019 Tom Stellard - 9.0.0-5 - Remove build artifacts installed with unittests