Fix Source0 reference and use make_build macro for calling make

This commit is contained in:
Neal Gompa 2019-04-22 15:39:44 -04:00 committed by Neal Gompa
parent faf7e966f2
commit 1083f333e3
3 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/029717bfd62265659993d5fc8e6847828b827fcb.tar.gz
/c49b333c034a6d29a7ce90f565e27da1061af971.tar.gz
/v0.9.tar.gz
/bpftrace-0.9.tar.gz

View File

@ -1,11 +1,11 @@
Name: bpftrace
Version: 0.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: High-level tracing language for Linux eBPF
License: ASL 2.0
URL: https://github.com/iovisor/bpftrace
Source0: %{url}/archive/v%{version}.tar.gz
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# Arches will be included as upstream support is added and dependencies are
# satisfied in the respective arches
@ -43,7 +43,7 @@ and predecessor tracers such as DTrace and SystemTap
-DBUILD_TESTING:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=OFF \
-DLLVM_DIR=/usr/lib64/llvm7.0/lib/cmake/llvm/
make %{?_smp_mflags}
%make_build
%install
@ -72,6 +72,10 @@ mv %{buildroot}%{_prefix}/man/* %{buildroot}%{_mandir}/
%changelog
* Mon Apr 22 2019 Neal Gompa <ngompa@datto.com> - 0.9-2
- Fix Source0 reference
- Use make_build macro for calling make
* Mon Apr 1 2019 Peter Robinson <pbrobinson@fedoraproject.org> 0.9-1
- Build on aarch64 and s390x

View File

@ -1 +1 @@
SHA512 (v0.9.tar.gz) = 771c412a6b1ee7a7d5bba9e0910633056c6f5523e5d1efd9d7ccb5b9f9b462b7bda8d170c5ed0653f3c1bfd5cc77fce2fd552f12eb8222a8747620b3dc9b49f8
SHA512 (bpftrace-0.9.tar.gz) = 771c412a6b1ee7a7d5bba9e0910633056c6f5523e5d1efd9d7ccb5b9f9b462b7bda8d170c5ed0653f3c1bfd5cc77fce2fd552f12eb8222a8747620b3dc9b49f8