Remove old cruft
This commit is contained in:
parent
7469a1d64f
commit
badad95516
1 changed files with 3 additions and 6 deletions
|
|
@ -45,9 +45,7 @@ BuildRequires: python3-twisted
|
|||
BuildArch: noarch
|
||||
|
||||
# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
%if 0%{?fedora} >= 37 || 0%{?rhel} >= 10
|
||||
ExcludeArch: %{ix86}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Uranium is a Python framework for building 3D printing related applications.
|
||||
|
|
@ -55,7 +53,6 @@ Uranium is a Python framework for building 3D printing related applications.
|
|||
%package -n python3-uranium
|
||||
Summary: %{summary}
|
||||
Provides: uranium = %{version}-%{release}
|
||||
%{?python_provide:%python_provide python3-uranium}
|
||||
|
||||
Requires: python3-arcus >= 5.2.2
|
||||
Requires: python3-cryptography
|
||||
|
|
@ -96,12 +93,12 @@ sed -i 's|qsb |qsb-qt6 |g' scripts/compile-shaders
|
|||
%cmake_build -- doc
|
||||
|
||||
%check
|
||||
%{__python3} -m pip freeze
|
||||
%{python3} -m pip freeze
|
||||
|
||||
# skipping failing tests, see:
|
||||
# * https://github.com/Ultimaker/Uranium/issues/594
|
||||
# * https://github.com/Ultimaker/Uranium/issues/603
|
||||
%{__python3} -m pytest -v -k "not (TestSettingFunction and test_init_bad) and not TestHttpRequestManager"
|
||||
%{python3} -m pytest -v -k "not (TestSettingFunction and test_init_bad) and not TestHttpRequestManager"
|
||||
|
||||
|
||||
%install
|
||||
|
|
@ -119,7 +116,7 @@ rm locale/*/uranium.po
|
|||
popd
|
||||
|
||||
# Bytecompile the plugins
|
||||
%py_byte_compile %{__python3} %{buildroot}%{_prefix}/lib/uranium
|
||||
%py_byte_compile %{python3} %{buildroot}%{_prefix}/lib/uranium
|
||||
|
||||
%find_lang uranium
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue