## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global _description %{expand: \ duecredit is being conceived to address the problem of inadequate citation of scientific software and methods, and limited visibility of donation requests for open-source software. It provides a simple framework (at the moment for Python only) to embed publication or other references in the original code so they are automatically collected and reported to the user at the necessary level of reference detail, i.e. only references for actually used functionality will be presented back if software provides multiple citeable implementations.} Name: python-duecredit Version: 0.9.2 Release: %autorelease Summary: Automated collection and reporting of citations License: BSD-2-Clause-Views URL: https://github.com/duecredit/duecredit Source0: %{pypi_source duecredit} BuildArch: noarch %description %{_description} %package -n python3-duecredit Summary: %{summary} BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} %description -n python3-duecredit %{_description} %package doc Summary: Documentation for %{name} %description doc Documentation for %{name}. %prep %autosetup -n duecredit-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files duecredit %check PYTHONPATH=%{buildroot}/%{python3_sitelib} %{pytest} duecredit/tests --ignore=duecredit/tests/test_io.py %files -n python3-duecredit -f %{pyproject_files} %{_bindir}/duecredit %files doc %license LICENSE %doc examples/ %changelog * Wed Feb 01 2023 Ankur Sinha (Ankur Sinha Gmail) 0.9.2-2 - feat: update to SPDX indentifier * Wed Feb 01 2023 Ankur Sinha (Ankur Sinha Gmail) 0.9.2-1 - feat: update to 0.9.2 (fixes rhbz#2166341) * Wed Feb 01 2023 Ankur Sinha (Ankur Sinha Gmail) 0.9.1-9 - chore: use pyproject macros * Fri Jan 20 2023 Fedora Release Engineering - 0.9.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.9.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.9.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 0.9.1-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.9.1-2 - Rebuilt for Python 3.10 * Sat May 22 2021 Ankur Sinha - 0.9.1-1 - Update to latest release * Sun Mar 28 2021 Ankur Sinha - 0.8.1-1 - Update to latest release * Wed Jan 27 2021 Fedora Release Engineering - 0.8.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jun 25 2020 Ankur Sinha - 0.8.0-3 - Explicitly BR setuptools * Tue May 26 2020 Miro Hrončok - 0.8.0-2 - Rebuilt for Python 3.9 * Tue Apr 21 2020 Ankur Sinha - 0.8.0-1 - Update to 0.8.0 - Remove py2 bits * Thu Jan 30 2020 Fedora Release Engineering - 0.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.7.0-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.7.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Apr 10 2019 Ankur Sinha - 0.7.0-1 - Update to 0.7.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.6.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Nov 04 2018 Ankur Sinha - 0.6.4-2 - Shorten summary - Remove stray empty line in description - Improve description for doc package * Sat Nov 03 2018 Ankur Sinha - 0.6.4-1 - Update to new version - Only install py3 bin - Use macro for description - use pydist macros - use pypi_source macro * Wed Nov 11 2015 Igor Gnatenko - 0.4.4.1-1 - Initial package