Move sources to git.demus.dk
Build and provide rpm of python3-pyp2spec-rpm / rpmbuild (release) Failing after 26s

This commit is contained in:
2025-04-07 23:43:46 +02:00
parent c347a40712
commit 4a1eeec036
2 changed files with 11 additions and 15 deletions
+10 -15
View File
@@ -1,12 +1,18 @@
Name: pyp2spec
%global forgeurl https://git.demus.dk/demus/pyp2spec
%global forgename gitea.com
Version: 0.12.1
Name: pyp2spec
Release: %autorelease
Summary: Generate Fedora RPM spec files for Python projects
%forgemeta
# Code is MIT, templates and files generated by the tool MIT-0
License: MIT AND MIT-0
URL: https://github.com/danieldemus/pyp2spec
Source0: %{pypi_source pyp2spec}
URL: %{forgeurl}
Source: %{forgesource}
BuildArch: noarch
BuildRequires: python3-devel
@@ -18,18 +24,7 @@ for Python distributions. It utilizes the benefits of pyproject-rpm-macros.
%prep
%autosetup -p1 -n pyp2spec-%{version}
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## 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
%forgesetup
%generate_buildrequires
%pyproject_buildrequires -t
+1
View File
@@ -0,0 +1 @@
SHA512 (0.12.1.tar.gz) = a8790ed019057c0971af6b673124b5cd01045caabed4078c3a010ea0d2aee97949f24f64b961105c1b30e9ac4210321d02ce672859ec540940feca3788374821