#1 Fix Source0 reference and use make_build macro for calling make
Merged a month ago by acaringi. Opened a month ago by ngompa.
rpms/ ngompa/bpftrace spec-cleanups  into  master

file modified
+1

@@ -1,3 +1,4 @@ 

  /029717bfd62265659993d5fc8e6847828b827fcb.tar.gz

  /c49b333c034a6d29a7ce90f565e27da1061af971.tar.gz

  /v0.9.tar.gz

+ /bpftrace-0.9.tar.gz

file modified
+7 -3

@@ -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 @@ 

          -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 @@ 

  

  

  %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

  

file modified
+1 -1

@@ -1,1 +1,1 @@ 

- SHA512 (v0.9.tar.gz) = 771c412a6b1ee7a7d5bba9e0910633056c6f5523e5d1efd9d7ccb5b9f9b462b7bda8d170c5ed0653f3c1bfd5cc77fce2fd552f12eb8222a8747620b3dc9b49f8

+ SHA512 (bpftrace-0.9.tar.gz) = 771c412a6b1ee7a7d5bba9e0910633056c6f5523e5d1efd9d7ccb5b9f9b462b7bda8d170c5ed0653f3c1bfd5cc77fce2fd552f12eb8222a8747620b3dc9b49f8

This PR contains a couple of small improvements to the packaging
- Use a fully qualified Source0 URL
- Use %make_build instead of make %{?_smp_mflags}

Pull-Request has been merged by acaringi

a month ago