summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/python-volatile.spec10
1 files changed, 7 insertions, 3 deletions
diff --git a/python/python-volatile.spec b/python/python-volatile.spec
index 78c0db8..fe3f958 100644
--- a/python/python-volatile.spec
+++ b/python/python-volatile.spec
@@ -2,11 +2,12 @@
Name: python-%{srcname}
Version: 2.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A small extension for the tempfile module
License: MIT
URL: https://github.com/mbr/volatile
-Source0: %{pypi_source}
+# pypi_source does not contain the license text
+Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
@@ -52,12 +53,15 @@ Summary: %{summary}
%files -n python3-%{srcname}
-# TODO ask upstream to include license
+%license LICENSE
%doc README.rst
%{python3_sitelib}/%{srcname}/
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
%changelog
+* Thu Nov 19 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 2.1.0-2
+- Use GitHub tarball, which includes license text
+
* Thu Nov 19 2020 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.9.0-1
- Initial package