public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/reuse] epel10: Update to 0.5.0
@ 2026-08-19 12:50 Carmen Bianca Bakker
0 siblings, 0 replies; only message in thread
From: Carmen Bianca Bakker @ 2026-08-19 12:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/reuse
Branch : epel10
Commit : 32d7ad0eb7e7af063d3c43ad12ca4ddad68b5443
Author : Carmen Bianca Bakker <carmen@carmenbianca.eu>
Date : 2019-09-06T13:07:17+02:00
Stats : +44/-24 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/reuse/c/32d7ad0eb7e7af063d3c43ad12ca4ddad68b5443?branch=epel10
Log:
Update to 0.5.0
---
diff --git a/.gitignore b/.gitignore
index 717c1fd..92ef0b0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/fsfe-reuse-0.3.3.tar.gz
/fsfe-reuse-0.3.4.tar.gz
+/fsfe-reuse-0.5.0.tar.gz
diff --git a/reuse.spec b/reuse.spec
index c49ffa8..4df2a44 100644
--- a/reuse.spec
+++ b/reuse.spec
@@ -1,54 +1,73 @@
-%global srcname fsfe-reuse
+%global pypi_name fsfe-reuse
Name: reuse
-Version: 0.3.4
-Release: 3%{?dist}
-Summary: A tool for compliance with the REUSE Initiative recommendations
-License: GPLv3+ and CC-BY-SA
+Version: 0.5.0
+Release: 1%{?dist}
+Summary: A tool for compliance with the REUSE recommendations
+License: GPLv3+ and CC-BY-SA and ASL 2.0
Url: https://git.fsfe.org/reuse/reuse
-Source0: %pypi_source %{srcname}
-BuildRequires: python3-devel
-BuildRequires: python3-setuptools
+Source0: %pypi_source
+BuildRequires: python3 >= 3.6
+# Build
+BuildRequires: python%{python3_pkgversion}-devel
+BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: gettext
-BuildRequires: pandoc
-# Tests
+# Test
+BuildRequires: git
+BuildRequires: %{py3_dist pytest}
+# Dependencies
BuildRequires: %{py3_dist Jinja2}
-BuildRequires: %{py3_dist chardet}
+BuildRequires: %{py3_dist binaryornot}
+BuildRequires: %{py3_dist boolean.py}
+BuildRequires: %{py3_dist license-expression}
BuildRequires: %{py3_dist python-debian}
-BuildRequires: %{py3_dist pytest}
-Requires: python3 >= 3.5
-Requires: %{py3_dist chardet}
-Requires: %{py3_dist python-debian}
+BuildRequires: %{py3_dist requests}
+# Documentation
+BuildRequires: %{py3_dist Sphinx}
+BuildRequires: %{py3_dist sphinx-autodoc-typehints}
+BuildRequires: %{py3_dist sphinxcontrib-apidoc}
+BuildRequires: %{py3_dist recommonmark}
+Requires: python3 >= 3.6
Recommends: git
-Recommends: %{py3_dist pygit2}
BuildArch: noarch
%description
-A tool for compliance with the REUSE Initiative recommendations. Essentially,
+A tool for compliance with the REUSE recommendations. Essentially,
it is a linter that checks for a project's compliance, and a compiler that
generates a project's bill of materials.
%prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -n %{pypi_name}-%{version}
+# Remove this line when sphinx-autodoc-typehints is up-to-date.
+sed -i "/sphinx_autodoc_typehints/d" docs/conf.py
%build
%py3_build
+pushd docs
+PBR_VERSION=%{version} sphinx-build-%{python3_version} . html
+rm -rf html/.{doctrees,buildinfo}
+popd
%install
%py3_install
-%find_lang %{name}
%check
-LC_ALL=C.UTF-8 LANG=C.UTF-8 PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 tests/
+PYTHONDONTWRITEBYTECODE=1 LC_ALL=C.UTF-8 LANG=C.UTF-8 PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-3 tests/
-%files -f %{name}.lang
-%license LICENSES/GPL-3.0.txt LICENSES/CC-BY-SA-4.0.txt
-%doc README.rst
+%files
+%license LICENSES/*.txt
+%doc README.md CHANGELOG.md docs/html/
%{_bindir}/%{name}
%{python3_sitelib}/%{name}/
%{python3_sitelib}/fsfe_reuse*egg-info/
%changelog
+* Fri Sep 06 2019 Carmen Bianca Bakker <carmenbianca@fedoraproject.org> - 0.5.0-1
+- New upstream version.
+- Now compatible with REUSE v3.0.
+- Added Sphinx-generated documentation.
+- Now also contains code under ASL 2.0.
+
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.3.4-3
- Rebuilt for Python 3.8
diff --git a/sources b/sources
index 6fbea5e..b1c1abd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (fsfe-reuse-0.3.4.tar.gz) = 9b592e6eb9af21e0004056561f7d9d2deb70e251931bccd8b663080163d89a2d66b1defad50a7c1caafb4665a92b0fa5f02cc6371fb16a13979c0e8710f717d8
+SHA512 (fsfe-reuse-0.5.0.tar.gz) = 351928c41a78b9a5140575fd2f6a3030626b18e99dc9a09afb2e0b1ab47e072fb6c132076f0b1c44f45e3521f73b14b77f922ba06342d3fc017252b1c59871cc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-19 12:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-19 12:50 [rpms/reuse] epel10: Update to 0.5.0 Carmen Bianca Bakker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox