Compare commits

..

No commits in common. 'epel9' and 'i9ce' have entirely different histories.
epel9 ... i9ce

@ -0,0 +1 @@
a6aafd321200f2d9c40a2c0617fc0c76a831f238 SOURCES/cargo2rpm-0.1.18.tar.gz

17
.gitignore vendored

@ -1,16 +1 @@
/cargo2rpm-0.1.0.tar.gz SOURCES/cargo2rpm-0.1.18.tar.gz
/cargo2rpm-0.1.1.tar.gz
/cargo2rpm-0.1.2.tar.gz
/cargo2rpm-0.1.3.tar.gz
/cargo2rpm-0.1.4.tar.gz
/cargo2rpm-0.1.5.tar.gz
/cargo2rpm-0.1.7.tar.gz
/cargo2rpm-0.1.8.tar.gz
/cargo2rpm-0.1.9.tar.gz
/cargo2rpm-0.1.12.tar.gz
/cargo2rpm-0.1.13.tar.gz
/cargo2rpm-0.1.14.tar.gz
/cargo2rpm-0.1.15.tar.gz
/cargo2rpm-0.1.16.tar.gz
/cargo2rpm-0.1.17.tar.gz
/cargo2rpm-0.1.18.tar.gz

@ -0,0 +1,123 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.2)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 1;
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
%bcond_without check
%if %{defined el9}
%global python3_pkgversion 3.11
%endif
Name: cargo2rpm
Version: 0.1.18
Release: %autorelease
Summary: Translation layer between cargo and RPM
License: MIT
URL: https://pagure.io/fedora-rust/cargo2rpm
Source: %{url}/archive/%{version}/cargo2rpm-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
%if %{with check}
BuildRequires: %{py3_dist pytest}
%endif
Requires: cargo
%description
cargo2rpm implements a translation layer between cargo and RPM. It
provides a CLI interface (for implementing RPM macros and generators)
and a Python API (which rust2rpm is built upon).
%prep
%autosetup -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files cargo2rpm
%check
%pyproject_check_import
%if %{with check}
%pytest
%endif
%files -f %{pyproject_files}
%doc README.md
%doc CHANGELOG.md
%{_bindir}/cargo2rpm
%changelog
## START: Generated by rpmautospec
* Thu Oct 10 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.18-1
- Update to version 0.1.18; Fixes RHBZ#2317824
* Sun Sep 08 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.17-1
- Update to version 0.1.17; Fixes RHBZ#2310726
* Fri May 24 2024 Fabio Valentini <decathorpe@gmail.com> - 0.1.16-1
- Update to version 0.1.16; Fixes RHBZ#2283015
* Fri Dec 08 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.15-1
- Update to version 0.1.15; Fixes RHBZ#2253432
* Fri Dec 01 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.14-1
- Update to version 0.1.14; Fixes RHBZ#2252412
* Sat Nov 18 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.1.13-1
- Rebuilt for MSVSphere 9.2
* Thu Nov 02 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.13-1
- Update to version 0.1.13; Fixes RHBZ#2247679
* Sat Oct 07 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.12-1
- Update to version 0.1.12; Fixes RHBZ#2242404
* Thu Sep 28 2023 Robert-André Mauchin <zebob.m@gmail.com> - 0.1.9-1
- Update to version 0.1.9; Fixes RHBZ#2240213
* Mon Sep 18 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.8-1
- Update to version 0.1.8; Fixes RHBZ#2239513
* Mon Jul 31 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.7-1
- Update to version 0.1.7; Fixes RHBZ#2227751
* Tue Jun 13 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.5-1
- Update to version 0.1.5
* Fri May 19 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.4-1
- Update to version 0.1.4; Fixes RHBZ#2196881
* Sat Apr 01 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.3-1
- Update to version 0.1.3; Fixes RHBZ#2175302
* Wed Feb 22 2023 Maxwell G <maxwell@gtmx.me> - 0.1.2-2
- cargo2rpm: build for Python 3.11 on epel9
- Conditionally set %%python3_pkgversion
- Use pytest directly in place of tox. tox is not packaged for python3.11.
* Thu Feb 16 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.2-1
- Update to version 0.1.2
* Thu Feb 16 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-2
- Update to more modern Python packaging
* Tue Feb 14 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.1-1
- Update to version 0.1.1
* Mon Feb 13 2023 Fabio Valentini <decathorpe@gmail.com> - 0.1.0-1
- Initial import (#2169233)
## END: Generated by rpmautospec

@ -1,54 +0,0 @@
%bcond_without check
%if %{defined el9}
%global python3_pkgversion 3.11
%endif
Name: cargo2rpm
Version: 0.1.18
Release: %autorelease
Summary: Translation layer between cargo and RPM
License: MIT
URL: https://pagure.io/fedora-rust/cargo2rpm
Source: %{url}/archive/%{version}/cargo2rpm-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
%if %{with check}
BuildRequires: %{py3_dist pytest}
%endif
Requires: cargo
%description
cargo2rpm implements a translation layer between cargo and RPM. It
provides a CLI interface (for implementing RPM macros and generators)
and a Python API (which rust2rpm is built upon).
%prep
%autosetup -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files cargo2rpm
%check
%pyproject_check_import
%if %{with check}
%pytest
%endif
%files -f %{pyproject_files}
%doc README.md
%doc CHANGELOG.md
%{_bindir}/cargo2rpm
%changelog
%autochangelog

@ -1 +0,0 @@
SHA512 (cargo2rpm-0.1.18.tar.gz) = adac3a02622dfc392ec59003e9c32997c19fb2138dac00153298f07da92d33775aca038368afdd01b8fd580f4211cbef37a37b663869a04b6d8f588bbc2e4157
Loading…
Cancel
Save