Compare commits
No commits in common. "c8s" and "a10s-internal" have entirely different histories.
c8s
...
a10s-inter
40
.gitignore
vendored
40
.gitignore
vendored
@ -1,2 +1,40 @@
|
||||
SOURCES/python-productmd-1.11.tar.gz
|
||||
/productmd-1.0.tar.bz2
|
||||
/productmd-1.0.tar.gz
|
||||
/productmd-1.1.tar.gz
|
||||
/productmd-1.2.tar.bz2
|
||||
/python-productmd-1.3.tar.gz
|
||||
/python-productmd-1.4.tar.gz
|
||||
/python-productmd-1.5.tar.gz
|
||||
/python-productmd-1.6.tar.gz
|
||||
/python-productmd-1.7.tar.gz
|
||||
/python-productmd-1.8.tar.gz
|
||||
/python-productmd-1.9.tar.gz
|
||||
/python-productmd-1.10.tar.gz
|
||||
/python-productmd-1.11.tar.gz
|
||||
/productmd-1.12.tar.bz2
|
||||
/productmd-1.13.tar.bz2
|
||||
/productmd-1.14.tar.bz2
|
||||
/productmd-1.15.tar.bz2
|
||||
/productmd-1.16.tar.bz2
|
||||
/productmd-1.17.tar.bz2
|
||||
/productmd-1.18.tar.bz2
|
||||
/productmd-1.19.tar.bz2
|
||||
/productmd-1.20.tar.bz2
|
||||
/productmd-1.21.tar.bz2
|
||||
/productmd-1.22.tar.bz2
|
||||
/productmd-1.23.tar.bz2
|
||||
/productmd-1.24.tar.bz2
|
||||
/productmd-1.25.tar.bz2
|
||||
/productmd-1.26.tar.bz2
|
||||
/productmd-1.27.tar.gz
|
||||
/productmd-1.28.tar.gz
|
||||
/productmd-1.29.tar.gz
|
||||
/productmd-1.30.tar.gz
|
||||
/productmd-1.31.tar.gz
|
||||
/productmd-1.32.tar.gz
|
||||
/productmd-1.33.tar.gz
|
||||
/productmd-1.35.tar.gz
|
||||
/productmd-1.36.tar.gz
|
||||
/productmd-1.37.tar.gz
|
||||
/productmd-1.38.tar.gz
|
||||
/productmd-1.48.tar.gz
|
||||
|
||||
24
0001-Add-x86_64_v2-to-RPM_ARCHES.patch
Normal file
24
0001-Add-x86_64_v2-to-RPM_ARCHES.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 50a37f6071f870bb7abfdffa0807d96528ebb10f Mon Sep 17 00:00:00 2001
|
||||
From: soksanichenko <soksanichenko@almalinux.org>
|
||||
Date: Fri, 13 Sep 2024 09:31:21 +0300
|
||||
Subject: [PATCH] Add x86_64_v2 to RPM_ARCHES
|
||||
|
||||
---
|
||||
productmd/common.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/productmd/common.py b/productmd/common.py
|
||||
index 10e573d..4be8584 100644
|
||||
--- a/productmd/common.py
|
||||
+++ b/productmd/common.py
|
||||
@@ -76,7 +76,7 @@ RPM_ARCHES = [
|
||||
"armv6l", "armv7hl", "armv7hnl", "armv7l", "armv8hl", "armv8l", "athlon", "geode", "i386", "i486", "i586",
|
||||
"i686", "ia32e", "ia64", "loongarch64", "mips", "mips64", "mips64el", "mipsel", "ppc", "ppc64",
|
||||
"ppc64iseries", "ppc64le", "ppc64p7", "ppc64pseries", "riscv128", "riscv32", "riscv64", "s390", "s390x",
|
||||
- "sh3", "sh4", "sh4a", "sparc", "sparc64", "sparc64v", "sparcv8", "sparcv9", "sparcv9v", "x86_64",
|
||||
+ "sh3", "sh4", "sh4a", "sparc", "sparc64", "sparc64v", "sparcv8", "sparcv9", "sparcv9v", "x86_64", "x86_64_v2",
|
||||
"src", "nosrc", "noarch",
|
||||
]
|
||||
|
||||
--
|
||||
2.39.3 (Apple Git-146)
|
||||
@ -1,109 +1,275 @@
|
||||
%bcond_without python3
|
||||
|
||||
%if 0%{?rhel} > 7
|
||||
# Disable python2 build by default
|
||||
%bcond_with python2
|
||||
%else
|
||||
%bcond_without python2
|
||||
%endif
|
||||
|
||||
Name: python-productmd
|
||||
Version: 1.11
|
||||
Release: 3%{?dist}
|
||||
Version: 1.48
|
||||
Release: 4%{?dist}.alma.1
|
||||
Summary: Library providing parsers for metadata related to OS installation
|
||||
|
||||
License: LGPLv2+
|
||||
License: LGPL-2.1-only
|
||||
URL: https://github.com/release-engineering/productmd
|
||||
Source0: https://files.pythonhosted.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
|
||||
Source: %{pypi_source productmd}
|
||||
|
||||
# AlmaLinux Patch
|
||||
Patch: 0001-Add-x86_64_v2-to-RPM_ARCHES.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
%global _description\
|
||||
%global _description \
|
||||
Python library providing parsers for metadata related to composes\
|
||||
and installation media.
|
||||
|
||||
%description %_description
|
||||
|
||||
%if %{with python2}
|
||||
%package -n python2-productmd
|
||||
Summary: %summary
|
||||
Obsoletes: productmd <= %{version}-%{release}
|
||||
Provides: productmd = %{version}-%{release}
|
||||
BuildRequires: python2-devel
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
Requires: python-six
|
||||
%else
|
||||
BuildRequires: python2-setuptools
|
||||
BuildRequires: python2-six
|
||||
Requires: python2-six
|
||||
%endif
|
||||
%{?python_provide:%python_provide python2-productmd}
|
||||
|
||||
%description -n python2-productmd %_description
|
||||
%endif # with python2
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%package -n python%{python3_pkgversion}-productmd
|
||||
%package -n python3-productmd
|
||||
Summary: %{summary}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-six
|
||||
Requires: python%{python3_pkgversion}-six
|
||||
|
||||
%description -n python%{python3_pkgversion}-productmd %_description
|
||||
%endif
|
||||
%description -n python3-productmd %_description
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -n productmd-%{version} -p1
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
%build
|
||||
%if %{with python2}
|
||||
%py2_build
|
||||
%endif # with python2
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%py3_build
|
||||
%endif
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if %{with python2}
|
||||
%py2_install
|
||||
%endif # with python2
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%py3_install
|
||||
%endif
|
||||
%pyproject_install
|
||||
%pyproject_save_files productmd
|
||||
|
||||
%check
|
||||
%if %{with python2}
|
||||
%{__python2} ./setup.py test
|
||||
%endif # with python2
|
||||
%pytest
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%{__python3} ./setup.py test
|
||||
%endif
|
||||
|
||||
%if %{with python2}
|
||||
%files -n python2-productmd
|
||||
%files -n python3-productmd -f %{pyproject_files}
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%{python2_sitelib}/productmd/
|
||||
%{python2_sitelib}/productmd-%{version}-py?.?.egg-info
|
||||
%endif # with python2
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%files -n python%{python3_pkgversion}-productmd
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%{python3_sitelib}/productmd/
|
||||
%{python3_sitelib}/productmd-%{version}-py?.?.egg-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 05 2018 Charalampos Stratakis <cstratak@redhat.com> - 1.11-3
|
||||
- Conditionalize the python2 subpackage
|
||||
* Wed Oct 08 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.48-4.alma.1
|
||||
- Add x86_64_v2 to RPM_ARCHES
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.48-4
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.48-3
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.48-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jul 08 2025 Lubomír Sedlář <lsedlar@redhat.com> - 1.48-1
|
||||
- Another fixup for dropping python-six
|
||||
|
||||
* Mon Jul 07 2025 Lubomír Sedlář <lsedlar@redhat.com> - 1.47-1
|
||||
- Fixup for dropping python-six
|
||||
|
||||
* Fri Jul 04 2025 Lubomír Sedlář <lsedlar@redhat.com> - 1.46-1
|
||||
- New upstream release 1.46
|
||||
|
||||
* Thu Jul 03 2025 Adam Williamson <awilliam@redhat.com> - 1.45-3
|
||||
- Backport PR #188 to fix composes with WSL images
|
||||
|
||||
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 1.45-2
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Mon Apr 14 2025 Lubomír Sedlář <lsedlar@redhat.com> - 1.45-1
|
||||
- New upstream release 1.45
|
||||
|
||||
* Fri Apr 11 2025 Lubomír Sedlář <lsedlar@redhat.com> - 1.44-1
|
||||
- New upstream release 1.44
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.43-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Mon Dec 09 2024 Lubomír Sedlář <lsedlar@redhat.com> - 1.43-1
|
||||
- New upstream release 1.43
|
||||
|
||||
* Tue Nov 19 2024 Adam Williamson <awilliam@redhat.com> - 1.41-2
|
||||
- Backport #180 to add types/formats to support new FEX backing images
|
||||
|
||||
* Mon Nov 04 2024 Lubomír Sedlář <lsedlar@redhat.com> - 1.41-1
|
||||
- Update RPM_ARCHES to match dnf
|
||||
|
||||
* Thu Aug 29 2024 Lubomír Sedlář <lsedlar@redhat.com> - 1.40-1
|
||||
- Remove iso image type again
|
||||
|
||||
* Wed Aug 28 2024 Lubomír Sedlář <lsedlar@redhat.com> - 1.39-1
|
||||
- New upstream release
|
||||
- Adds appx and iso as image types for kiwibuilds
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.38-4
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.38-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Dec 07 2023 Lubomír Sedlář <lsedlar@redhat.com> - 1.38-1
|
||||
- New upstream release
|
||||
|
||||
* Fri Sep 22 2023 Lubomír Sedlář <lsedlar@redhat.com> - 1.37-1
|
||||
- New upstream release 1.37
|
||||
|
||||
* Mon Jul 31 2023 Lubomír Sedlář <lsedlar@redhat.com> - 1.36-1
|
||||
- New upstream release 1.36
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.35-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.35-2
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Wed Mar 01 2023 Lubomír Sedlář <lsedlar@redhat.com> - 1.35-1
|
||||
- New upstream release 1.35
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.33-5
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.33-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.33-2
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Mon May 24 2021 Lubomír Sedlář <lsedlar@redhat.com> - 1.33-1
|
||||
- New upstream release 1.33
|
||||
|
||||
* Fri Apr 16 2021 Lubomír Sedlář <lsedlar@redhat.com> - 1.32-1
|
||||
- New upstream release
|
||||
|
||||
* Mon Feb 08 2021 Lubomír Sedlář <lsedlar@redhat.com> - 1.31-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.30-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Thu Nov 26 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.30-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Nov 10 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.29-1
|
||||
- New upstream release
|
||||
|
||||
* Tue Sep 29 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.28-2
|
||||
- Fix Python 2 conditional for ELN
|
||||
|
||||
* Fri Sep 25 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.28-1
|
||||
- New upstream release
|
||||
|
||||
* Wed Aug 19 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.27-1
|
||||
- New upstream release 1.27
|
||||
- Switch sources to tar.gz
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.26-2
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Thu Apr 09 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.26-1
|
||||
- New upstream release 1.26
|
||||
|
||||
* Mon Mar 23 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.25-1
|
||||
- New upstream release 1.25
|
||||
|
||||
* Fri Feb 07 2020 Lubomír Sedlář <lsedlar@redhat.com> - 1.24-1
|
||||
- New upstream release 1.24
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Nov 01 2019 Lubomír Sedlář <lsedlar@redhat.com> - 1.23-1
|
||||
- Add class for representing extra files in the compose (lsedlar@redhat.com)
|
||||
- Add tests for multiple variants in one .treeinfo (riehecky@fnal.gov)
|
||||
|
||||
* Wed Sep 04 2019 Lubomír Sedlář <lsedlar@redhat.com> - 1.22-1
|
||||
- Fix parsing composeinfo with almost conflicting UIDs (lsedlar@redhat.com)
|
||||
- Improve error message for invalid metadata (lsedlar@redhat.com)
|
||||
- Fix image format for vpc (lsedlar@redhat.com)
|
||||
- Set up test infrastructure (lsedlar@redhat.com)
|
||||
- Add missing parts to the TreeInfo documentation (jkonecny@redhat.com)
|
||||
- Add a comment explaining the 'tar-gz' type (awilliam@redhat.com)
|
||||
|
||||
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.21-3
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Mar 11 2019 Lubomír Sedlář <lsedlar@redhat.com> - 1.21-1
|
||||
- Include typo fix from upstream
|
||||
|
||||
* Sat Mar 09 2019 Kevin Fenzi <kevin@scrye.com> - 1.20-3
|
||||
- Fix typo in image names: s/vabrant/vagrant/ (Rawhide)
|
||||
- Rebuilt to change main python from 3.4 to 3.6 (EPEL 7)
|
||||
|
||||
* Thu Mar 07 2019 Lubomír Sedlář <lsedlar@redhat.com> - 1.20-2
|
||||
- Disable python 2 subpackage on F>=31
|
||||
|
||||
* Tue Mar 05 2019 Lubomír Sedlář <lsedlar@redhat.com> - 1.20-1
|
||||
- Improve getting sync between image types and formats
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jan 24 2019 Lubomír Sedlář <lsedlar@redhat.com> - 1.19-1
|
||||
- Fix get_minor_version on inputs with more that two components
|
||||
- Add new release types
|
||||
- Add __version__ attribute
|
||||
- Documentation improvements
|
||||
|
||||
* Fri Nov 23 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.18-1
|
||||
- Add SecurityFix label
|
||||
- Fix get_major_version on inputs with more than two components
|
||||
|
||||
* Fri Oct 05 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.17-1
|
||||
- Do not use custom repr for objects with no compose
|
||||
- Add additional_variants attribute to unified images
|
||||
|
||||
* Tue Aug 14 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.16-1
|
||||
- Allow module metadata with empty modules
|
||||
|
||||
* Fri Jul 20 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.15-4
|
||||
- Use python2_sitelib instead of python_sitelib
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.15-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Jun 22 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.15-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed Jun 20 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.15-1
|
||||
- Add missing _modules attribute to Compose
|
||||
- composeinfo: add docs for Compose class
|
||||
- rpms: add doc example for using the Rpms class
|
||||
- common: document parse_nvra() return value elements
|
||||
- common: explain filename handling for parse_nvra()
|
||||
|
||||
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.14-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Fri May 11 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.14-1
|
||||
- Add rhevm-ova as valid type
|
||||
|
||||
* Thu May 10 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.13-1
|
||||
- Add vsphere-ova as valid image type
|
||||
|
||||
* Mon May 07 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.12-1
|
||||
- Add vpc/vhd as known image type/format
|
||||
|
||||
* Wed Apr 04 2018 Lubomír Sedlář <lsedlar@redhat.com> - 1.11-2
|
||||
- Stop using Tito from upstream
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (python-productmd-1.11.tar.gz) = f6dbf31c1d13f105a8d8d2289d773431ece6b8719c69d8e30efebc25b5e97e996f4cce6d8394a83b9180ec77335234a08d826767c6dbee6d6449318149b0576e
|
||||
d5ca248fa3cf5d2ce3f6b02cb0f4173b44c83e4908ec55b3404fa0c9e876cc9fcca4e887b3e6678dfe406836dfa50fc1d4d84bf59ea593c2374a85267fc827cd productmd-1.48.tar.gz
|
||||
|
||||
Loading…
Reference in New Issue
Block a user