forked from pool/python-adblock
- Update to 0.6.0
Added * Added aliases optional argument to Engine.add_resource. Changes * Update PyO3 dependency to 0.16. * Update upstream dependency to 0.5.6. Breaks * Minimum Rust version is now 1.53. * Minimum Python version is now 3.7. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-adblock?expand=0&rev=10
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-adblock
|
||||
Version: 0.5.2
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: Brave's adblock library in Python
|
||||
License: Apache-2.0 OR MIT
|
||||
@@ -40,9 +40,9 @@ ExclusiveArch: %{rust_arches}
|
||||
Python wrapper for Brave's adblocking library.
|
||||
|
||||
%prep
|
||||
%setup -q -n adblock-%{version}
|
||||
# build flavor-specific versions -- otherwise py3.9 wheel will not work
|
||||
sed -i 's/"abi3-py36", //' Cargo.toml
|
||||
%setup -q
|
||||
# build flavor-specific versions -- otherwise wheels will not work
|
||||
sed -i 's/"abi3-py37", //' Cargo.toml
|
||||
|
||||
tar xf %{SOURCE1}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user