summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndřej Pohořelský <opohorel@redhat.com>2022-06-01 10:30:57 +0200
committerOndřej Pohořelský <opohorel@redhat.com>2022-06-01 10:30:57 +0200
commit74371b54d5c8fd20a1b0d7654a5b357fafc9a6fa (patch)
tree1ee73241ee9ea8a2876c718ee56c19d4209ca338
parent58c4e8406b09af5449d6e0a82c8b2809e7503bc3 (diff)
downloadpython-fastbencode-74371b54d5c8fd20a1b0d7654a5b357fafc9a6fa.tar.gz
python-fastbencode-74371b54d5c8fd20a1b0d7654a5b357fafc9a6fa.tar.xz
python-fastbencode-74371b54d5c8fd20a1b0d7654a5b357fafc9a6fa.zip
update to new version
-rw-r--r--python-fastbencode-0.0.7-1.fc37.src.rpmbin83605 -> 0 bytes
-rw-r--r--python-fastbencode-0.0.9-1.fc37.src.rpmbin0 -> 27927 bytes
-rw-r--r--python-fastbencode.spec24
3 files changed, 14 insertions, 10 deletions
diff --git a/python-fastbencode-0.0.7-1.fc37.src.rpm b/python-fastbencode-0.0.7-1.fc37.src.rpm
deleted file mode 100644
index 78da033..0000000
--- a/python-fastbencode-0.0.7-1.fc37.src.rpm
+++ /dev/null
Binary files differ
diff --git a/python-fastbencode-0.0.9-1.fc37.src.rpm b/python-fastbencode-0.0.9-1.fc37.src.rpm
new file mode 100644
index 0000000..acdf5a8
--- /dev/null
+++ b/python-fastbencode-0.0.9-1.fc37.src.rpm
Binary files differ
diff --git a/python-fastbencode.spec b/python-fastbencode.spec
index e98ec88..011ff55 100644
--- a/python-fastbencode.spec
+++ b/python-fastbencode.spec
@@ -1,14 +1,15 @@
%global pypi_name fastbencode
-%global pypi_version 0.0.7
Name: python-%{pypi_name}
-Version: %{pypi_version}
+Version: 0.0.9
Release: 1%{?dist}
Summary: Implementation of bencode with optional fast C extensions
-License: GPLv2+
+License: GPLv2+ and MIT
+#fastbencode is licensed under GPLv2+
+#_bencode_py.py is licensed under MIT
URL: https://github.com/breezy-team/fastbencode
-Source0: %{pypi_source}
+Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{pypi_name}-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3dist(cython) >= 0.29
@@ -16,9 +17,12 @@ BuildRequires: python3dist(setuptools)
BuildRequires: gcc
%global _description %{expand:
-fastbencode is an implementation of the bencode serialization format originally used by BitTorrent.
-The package includes both a pure-Python version and an optional C extension based on Cython.
-Both provide the same functionality, but the C extension provides significantly better performance.
+fastbencode is an implementation of the bencode serialization format
+originally used by BitTorrent.
+The package includes both a pure-Python version and an optional C extension
+based on Cython.
+Both provide the same functionality, but the C extension provides
+significantly better performance.
}
%description %_description
@@ -31,7 +35,7 @@ Summary: %{summary}
%prep
-%autosetup -n %{pypi_name}-%{pypi_version}
+%autosetup -n %{pypi_name}-%{version}
%build
%py3_build
@@ -45,8 +49,8 @@ Summary: %{summary}
%files -n python3-%{pypi_name}
%doc README.md
%{python3_sitearch}/%{pypi_name}/
-%{python3_sitearch}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info/
+%{python3_sitearch}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
%changelog
-* Mon May 16 2022 Ondřej Pohořelský <opohorel@redhat.com> - 0.0.7-1
+* Wed Jun 01 2022 Ondřej Pohořelský <opohorel@redhat.com> - 0.0.9-1
- Initial package.