This commit is contained in:
parent
ed025157cd
commit
b6f7c334de
1 changed files with 7 additions and 4 deletions
|
|
@ -25,6 +25,9 @@ BuildRequires: python3-twisted
|
|||
|
||||
BuildArch: noarch
|
||||
|
||||
# Get Fedora 33++ behavior on anything older
|
||||
%undefine __cmake_in_source_build
|
||||
|
||||
%description
|
||||
Uranium is a Python framework for building 3D printing related applications.
|
||||
|
||||
|
|
@ -57,9 +60,9 @@ related applications.
|
|||
%build
|
||||
# there is no arch specific content, so we set LIB_SUFFIX to nothing
|
||||
# see https://github.com/Ultimaker/Uranium/commit/862a246bdfd7e25541b04a35406957612c6f4bb7
|
||||
%{cmake} -DLIB_SUFFIX:STR= .
|
||||
make %{?_smp_mflags}
|
||||
make doc
|
||||
%cmake -DLIB_SUFFIX:STR= .
|
||||
%cmake_build
|
||||
%cmake_build -- doc
|
||||
|
||||
%check
|
||||
%{__python3} -m pip freeze
|
||||
|
|
@ -71,7 +74,7 @@ make doc
|
|||
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot}
|
||||
%cmake_install
|
||||
|
||||
# Move the cmake files
|
||||
mv %{buildroot}%{_datadir}/cmake* %{buildroot}%{_datadir}/cmake
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue