fix spec file packaging

source was being extracted to %{name}-%{version}/%{name}-%{version}
instead of just %{name}-%{version} which complicated applying patches in
packaging. extract the source to just %{name}-${version} and update the
build rules as appropriate.
parent 71a856e2
Pipeline #93649 passed with stages
in 4 minutes and 52 seconds
......@@ -59,12 +59,11 @@ This package contains the files needed for building bayeswave programs
# -- build stages -----------
%prep
%setup -c -T -D -a 0 -n %{name}-%{version}
%setup -n %{name}-%{version}
%build
%cmake3 \
-DCMAKE_BUILD_TYPE=Release \
%{name}-%{version}
-DCMAKE_BUILD_TYPE=Release .
%make_build
%install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment