Upgrade to 2.32.4
Build and provide rpm of python-types-requests / rpmbuild (release) Successful in 1m39s

Add gitea workflows
This commit is contained in:
2026-03-02 22:34:30 +01:00
parent 363b30b440
commit 1c6c711275
4 changed files with 62 additions and 9 deletions
+15
View File
@@ -0,0 +1,15 @@
name: Build and provide rpm of python-types-requests
run-name: Build python-types-requests from ${{ gitea.repository }} on COPR
on: [release]
jobs:
rpmbuild:
runs-on: f43-minimal-copr
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build src.rpm and send to COPR
uses: https://git.demus.dk/actions/copr-build@main
with:
copr_config: ${{ secrets.COPR_API_CONFIG }}
copr_project: packages
fedora_release: f43
+15
View File
@@ -0,0 +1,15 @@
name: Build and provide rpm of python-types-requests
run-name: Build python-types-requests from ${{ gitea.repository }} on COPR
on: [release]
jobs:
rpmbuild:
runs-on: rawhide-minimal-copr
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build src.rpm and send to COPR
uses: https://git.demus.dk/actions/copr-build@main
with:
copr_config: ${{ secrets.COPR_API_CONFIG }}
copr_project: packages
fedora_release: rawhide
+24
View File
@@ -0,0 +1,24 @@
name: Build and provide rpm of python-types-requests
run-name: Build python-types-requests from ${{ gitea.repository }} on COPR
on:
workflow_dispatch:
inputs:
fedora_release:
type: choice
description: 'Choose a fedora release'
required: true
options:
- 'f43'
- 'rawhide'
jobs:
rpmbuild:
runs-on: ${{ inputs.fedora_release }}-minimal-copr
steps:
- name: Check out repository code
uses: https://git.demus.dk/actions/git-clone@main
- name: Build src.rpm and send to COPR
uses: https://git.demus.dk/actions/copr-build@main
with:
copr_config: ${{ secrets.COPR_API_CONFIG }}
copr_project: packages
fedora_release: ${{ inputs.fedora_release }}
+8 -9
View File
@@ -1,14 +1,14 @@
%global srcname types-requests
%global pkgname types-requests
%global modname types_requests
Name: python-%{srcname}
Version: 2.26.1
Name: python-%{pkgname}
Version: 2.32.4.20260107
Release: %autorelease
Summary: Typing stubs for requests
# Automatically converted from old format: ASL 2.0 - review is highly recommended.
License: Apache-2.0
URL: https://github.com/python/typeshed
Source0: %{pypi_source %{srcname}}
Source0: %{pypi_source %{modname}}
BuildArch: noarch
@@ -26,14 +26,14 @@ See https://github.com/python/typeshed/blob/master/README.md for more details.}
%description %{_description}
%package -n python%{python3_pkgversion}-%{srcname}
%package -n python%{python3_pkgversion}-%{pkgname}
Summary: %{summary}
%description -n python%{python3_pkgversion}-%{srcname} %{_description}
%description -n python%{python3_pkgversion}-%{pkgname} %{_description}
%prep
%autosetup -p1 -n %{srcname}-%{version}
%autosetup -p1 -n %{modname}-%{version}
%generate_buildrequires
@@ -52,11 +52,10 @@ Summary: %{summary}
%py3_check_import requests-stubs
%files -n python%{python3_pkgversion}-%{srcname}
%files -n python%{python3_pkgversion}-%{pkgname}
%doc CHANGELOG.md
%{python3_sitelib}/requests-stubs
%{python3_sitelib}/%{modname}-%{version}.dist-info/
%changelog
%autochangelog