Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

7 changed files with 76 additions and 26 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

9
.gitignore vendored
View File

@ -1 +1,8 @@
SOURCES/py3c-1.2.tar.gz /py3c-0.6.tar.gz
/py3c-0.7.tar.gz
/py3c-0.8.tar.gz
/py3c-1.0.tar.gz
/py3c-1.1.tar.gz
/py3c-1.2.tar.gz
/py3c-1.3.tar.gz
/py3c-1.4.tar.gz

View File

@ -1 +0,0 @@
34968631850de8307fedac41041cdc0bcfea5976 SOURCES/py3c-1.2.tar.gz

5
gating.yaml Normal file
View File

@ -0,0 +1,5 @@
--- !Policy
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

11
plans.fmf Normal file
View File

@ -0,0 +1,11 @@
discover:
how: shell
tests:
- name: pkgconf lists py3c
test: pkgconf py3c --exists
require:
- pkgconf
execute:
how: tmt

View File

@ -2,22 +2,23 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: py3c Name: py3c
Version: 1.2 Version: 1.4
Release: 4%{?dist} Release: 10%{?dist}
Summary: Guide and compatibility macros for porting extensions to Python 3 Summary: Guide and compatibility macros for porting extensions to Python 3
# Licences differ for subpackages # Licences differ for subpackages
License: MIT and CC-BY-SA License: MIT AND CC-BY-SA-3.0
URL: http://py3c.readthedocs.io/ URL: http://py3c.readthedocs.io/
Source0: https://github.com/encukou/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/encukou/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: make
BuildRequires: gcc BuildRequires: gcc
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-setuptools BuildRequires: python3-setuptools
BuildRequires: python3-sphinx BuildRequires: python3-sphinx
BuildRequires: python3-sphinx_rtd_theme BuildRequires: python3-sphinx_rtd_theme >= 0.4.3
%description %description
py3c helps you port C extensions to Python 3. py3c helps you port C extensions to Python 3.
@ -41,11 +42,9 @@ Because py3c is a header-only library, there is no matching run-time package.
%package doc %package doc
BuildArch: noarch BuildArch: noarch
License: CC-BY-SA License: CC-BY-SA-3.0
Summary: Guide for porting C extensions to Python 3 Summary: Guide for porting C extensions to Python 3
Requires: python3-sphinx_rtd_theme
%description doc %description doc
Guide for porting CPython extensions from Python 2 to Python 3, using the Guide for porting CPython extensions from Python 2 to Python 3, using the
py3c macros. py3c macros.
@ -54,20 +53,12 @@ py3c macros.
%setup -q %setup -q
%build %build
make %{?_smp_mflags} py3c.pc includedir=%{_includedir} %make_build py3c.pc includedir=%{_includedir}
make %{?_smp_mflags} doc SPHINXBUILD=sphinx-build-3 %make_build doc SPHINXBUILD=sphinx-build-3
# unbundle fonts provided by the theme package
bundledfonts=doc/build/html/_static/fonts
themefonts=%{python3_sitelib}/sphinx_rtd_theme/static/fonts
diff -r $bundledfonts $themefonts
rm -rv $bundledfonts
ln -s $themefonts $bundledfonts
%check %check
export CFLAGS="%{optflags}" %make_build test-python3
make %{?_smp_mflags} test-python3
%install %install
make install prefix=%{buildroot}%{_prefix} includedir=%{buildroot}%{_includedir} make install prefix=%{buildroot}%{_prefix} includedir=%{buildroot}%{_includedir}
@ -89,13 +80,48 @@ sed --in-place -e's!%{buildroot}!!' %{buildroot}%{_datadir}/pkgconfig/py3c.pc
%doc %{_pkgdocdir}/ %doc %{_pkgdocdir}/
%changelog %changelog
* Fri Oct 30 2020 Tomas Orsava <torsava@redhat.com> - 1.2-4 * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.4-10
- Rebuild with gating - Bump release for October 2024 mass rebuild:
- Resolves: rhbz#1841060 Resolves: RHEL-64018
* Mon Sep 07 2020 Tomas Orsava <torsava@redhat.com> - 1.2-3 * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.4-9
- Including in RHEL8 - Bump release for June 2024 mass rebuild
- Resolves: rhbz#1841060
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jul 12 2023 Karolina Surma <ksurma@redhat.com> - 1.4-5
- Migrate the License tags to SPDX expressions
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Oct 15 2021 Petr Viktorin <pviktori@redhat.com> - 1.4-1
- Update to 1.4
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Jan 07 2021 Petr Viktorin <pviktori@redhat.com> - 1.3-2
- No longer unbundle fonts
* Sun Nov 29 2020 Petr Viktorin <pviktori@redhat.com> - 1.3-1
- Update to 1.3
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (py3c-1.4.tar.gz) = db71db2c19a16ba5a430b676beb357faee5b67b161478932af13dd06be23b5505da85dbaf5b2447f95590fea55b833ee33fa19d3350ba3117f3364a9ab012ee6