Compare commits
18 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ed709046ea | ||
|
|
9233dbc996 | ||
|
|
2344e1fb46 | ||
|
|
05fe45941e | ||
|
|
a9dc08b12b | ||
|
|
c9aa2899b6 | ||
|
|
a6f9420ae8 | ||
|
|
cf3a917ff3 | ||
|
|
96ae7df798 | ||
|
|
08f281c034 | ||
|
|
7e7726133c | ||
|
|
87d59a3af7 | ||
|
|
8318941aeb | ||
|
|
40f3d5aecb | ||
|
|
c57085d2d0 | ||
|
|
26737d07f0 | ||
|
|
dd26b0fa97 | ||
|
|
29da16297c |
1 changed files with 17 additions and 15 deletions
|
|
@ -33,7 +33,9 @@ Source1: get_source
|
|||
|
||||
%endif
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildSystem: pyproject
|
||||
BuildOption(install): -l cramjam
|
||||
|
||||
BuildRequires: tomcli >= 0.8.0
|
||||
BuildRequires: cargo-rpm-macros >= 24
|
||||
|
||||
|
|
@ -72,9 +74,7 @@ License: %{shrink:
|
|||
%description -n python3-cramjam %{common_description}
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n cramjam-%{srcversion}
|
||||
|
||||
%prep -a
|
||||
# Downstream-only: patch out the generate-import-lib feature, which is only
|
||||
# relevant on Windows, and which depends on the corresponding pyo3 feature –
|
||||
# which is not packaged for that reason.
|
||||
|
|
@ -119,25 +119,27 @@ done
|
|||
%cargo_prep
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
%generate_buildrequires -a
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%build -p
|
||||
%cargo_license_summary
|
||||
%{cargo_license} > LICENSES.dependencies
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l cramjam
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
%check -a
|
||||
%if %{with tests}
|
||||
# Test failures in test_variants_decompress_into with recent hypothesis
|
||||
# versions: https://github.com/milesgranger/cramjam/issues/201
|
||||
#
|
||||
# It is hard to be really sure what is going on here. The failures are
|
||||
# concerning, and might (or might not) reflect a serious problem. Nevertheless,
|
||||
# since the problem appears to be linked to newer hypothesis versions, there’s
|
||||
# not reason to believe that the package has *new* problems. It *might* have
|
||||
# newly *revealed* problems. This merits further investigation.
|
||||
k="${k-}${k+ and }not test_variants_decompress_into"
|
||||
|
||||
# Regression with miniz_oxide>0.8.5
|
||||
# https://github.com/milesgranger/cramjam/issues/211
|
||||
# Failed: DID NOT RAISE <class 'cramjam.DecompressionError'>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue