]> git.pld-linux.org Git - packages/python3-zstd.git/commitdiff
- spec cleanup, rel 1 master auto/th/python3-zstd-1.5.1.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 9 Apr 2022 18:46:26 +0000 (20:46 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 9 Apr 2022 18:46:26 +0000 (20:46 +0200)
python3-zstd.spec

index fcd3c7e3be6a46b8e2ee8542069285df1fb2529f..dd53fdf6f386da4c651e0ad5af1915197d8cf37a 100644 (file)
@@ -6,8 +6,8 @@
 Summary:       Simple python bindings to Yann Collet ZSTD compression library
 Name:          python3-%{module}
 Version:       1.5.1.0
-Release:       0.1
-License:       - (enter GPL/GPL v2/GPL v3/LGPL/BSD/BSD-like/other license name here)
+Release:       1
+License:       BSD
 Group:         Libraries/Python
 #Source0Download: https://pypi.org/simple/zstd/
 Source0:       https://files.pythonhosted.org/packages/source/z/zstd/%{module}-%{version}.tar.gz
@@ -15,20 +15,10 @@ Source0:    https://files.pythonhosted.org/packages/source/z/zstd/%{module}-%{versi
 Patch0:                unbundle-zstd.patch
 URL:           https://pypi.org/project/zstd/
 BuildRequires: python3-devel >= 1:3.2
-#BuildRequires:        python3-setuptools
-%if %{with tests}
-#BuildRequires:        python3-
-%endif
-# if using noarch subpackage:
-#BuildRequires:        rpm-build >= 4.6
+BuildRequires: python3-setuptools
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.714
 BuildRequires: zstd-devel
-# when using /usr/bin/env or other in-place substitutions
-#BuildRequires:        sed >= 4.0
-%if %{with doc}
-BuildRequires: sphinx-pdg-3
-%endif
 # replace with other requires if defined in setup.py
 Requires:      python3-modules >= 1:3.2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -36,18 +26,6 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 Simple python bindings to Yann Collet ZSTD compression library.
 
-%package apidocs
-Summary:       API documentation for Python %{module} module
-Summary(pl.UTF-8):     Dokumentacja API modułu Pythona %{module}
-Group:         Documentation
-BuildArch:     noarch
-
-%description apidocs
-API documentation for Python %{module} module.
-
-%description apidocs -l pl.UTF-8
-Dokumentacja API modułu Pythona %{module}.
-
 %prep
 %setup -q -n %{module}-%{version}
 %patch0 -p1
@@ -55,9 +33,6 @@ Dokumentacja API modułu Pythona %{module}.
 # Remove bundled lib
 %{__rm} -rf zstd
 
-# fix #!/usr/bin/env python -> #!/usr/bin/python:
-#%{__sed} -i -e '1s,^#!.*python3,#!%{__python3},' %{name}.py
-
 %build
 %py3_build %{?with_tests:test}
 
This page took 0.062221 seconds and 4 git commands to generate.