22b0838
%if %{defined el8}
22b0838
%bcond_with tests
22b0838
%else
32e8367
%bcond_without tests
22b0838
%endif
32e8367
Lubomír Sedlář a701b4e
Name:       compose-utils
Lubomír Sedlář 79e0304
Version:    0.1.45
96b0786
Release:    7%{?dist}
Lubomír Sedlář a701b4e
Summary:    Utilities for working with composes
Lubomír Sedlář a701b4e
Lubomír Sedlář a823ce1
License:    GPL-2.0-only
Lubomír Sedlář a701b4e
URL:        https://pagure.io/compose-utils
Lubomír Sedlář a701b4e
Source0:    https://pagure.io/releases/compose-utils/%{name}-%{version}.tar.bz2
Lubomír Sedlář a701b4e
Lubomír Sedlář a701b4e
BuildRequires:  python%{python3_pkgversion}-devel
Lubomír Sedlář 8d038b3
BuildRequires:  python%{python3_pkgversion}-setuptools
32e8367
32e8367
%if %{with tests}
Lubomír Sedlář 79e0304
BuildRequires:  python%{python3_pkgversion}-productmd >= 1.33
Lubomír Sedlář a701b4e
BuildRequires:  python%{python3_pkgversion}-freezegun
Lubomír Sedlář a701b4e
BuildRequires:  python%{python3_pkgversion}-mock
Lubomír Sedlář a701b4e
BuildRequires:  python%{python3_pkgversion}-kobo
Lubomír Sedlář 397cca9
BuildRequires:  python%{python3_pkgversion}-kobo-rpmlib >= 0.10.0
b584eac
BuildRequires:  python%{python3_pkgversion}-pytest
32e8367
%endif
32e8367
Lubomír Sedlář a701b4e
Requires:       python3-%{name} = %{version}-%{release}
Lubomír Sedlář a701b4e
Lubomír Sedlář a701b4e
BuildArch:  noarch
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
%description
Lubomír Sedlář d5e2df0
A set of tools for working with composes produced by pungi.
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
Lubomír Sedlář abad78a
%package -n python%{python3_pkgversion}-%{name}
Lubomír Sedlář abad78a
Summary:    Python 3 libraries supporting tools for working with composes
Lubomír Sedlář 79e0304
Requires:   python%{python3_pkgversion}-productmd >= 1.33
Lubomír Sedlář a701b4e
Requires:   python%{python3_pkgversion}-kobo
Lubomír Sedlář 397cca9
Requires:   python%{python3_pkgversion}-kobo-rpmlib >= 0.10.0
Lubomír Sedlář a701b4e
Requires:   rsync
Lubomír Sedlář abad78a
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
Lubomír Sedlář abad78a
Lubomír Sedlář abad78a
%description -n python%{python3_pkgversion}-%{name}
Lubomír Sedlář abad78a
Python 3 libraries supporting tools for working with composes
Lubomír Sedlář abad78a
Lubomír Sedlář abad78a
Lubomír Sedlář d5e2df0
%prep
Lubomír Sedlář f730f5b
%autosetup -p1
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
%build
Lubomír Sedlář abad78a
%py3_build
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
%install
Lubomír Sedlář abad78a
%py3_install
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
32e8367
%if %{with tests}
Lubomír Sedlář a5b18ef
%check
b584eac
%pytest
32e8367
%endif
Lubomír Sedlář a5b18ef
Lubomír Sedlář a5b18ef
Lubomír Sedlář d5e2df0
%files
Lubomír Sedlář d5e2df0
%license COPYING GPL
Lubomír Sedlář d5e2df0
%doc AUTHORS README.rst
Lubomír Sedlář d5e2df0
%{_bindir}/*
Lubomír Sedlář ae468d7
%{_mandir}/man1/*
Lubomír Sedlář d5e2df0
Lubomír Sedlář abad78a
%files -n python%{python3_pkgversion}-%{name}
Lubomír Sedlář abad78a
%license COPYING GPL
Lubomír Sedlář abad78a
%doc AUTHORS README.rst
Lubomír Sedlář abad78a
%{python3_sitelib}/*
Lubomír Sedlář abad78a
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
%changelog
96b0786
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.45-7
96b0786
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
96b0786
d1eb2f3
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.45-6
d1eb2f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
d1eb2f3
08a9140
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.1.45-5
08a9140
- Rebuilt for Python 3.11
08a9140
df3534a
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.45-4
df3534a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
df3534a
ff8b862
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.45-3
ff8b862
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ff8b862
9c936d0
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.1.45-2
9c936d0
- Rebuilt for Python 3.10
9c936d0
Lubomír Sedlář 79e0304
* Mon May 31 2021 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.45-1
Lubomír Sedlář 79e0304
- new release 0.1.45
Lubomír Sedlář 79e0304
- Resolves: rhbz#1965933
Lubomír Sedlář 79e0304
- clean up old conditionals
Lubomír Sedlář 79e0304
1fb63e6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.44-2
1fb63e6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1fb63e6
Lubomír Sedlář 84a943f
* Fri Jan 15 11:22:25 CET 2021 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.44-1
Lubomír Sedlář 84a943f
- new release 0.1.44
Lubomír Sedlář 84a943f
3cb08f2
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.42-4
3cb08f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3cb08f2
Lubomír Sedlář 8d038b3
* Wed Jun 24 2020 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.42-3
Lubomír Sedlář 8d038b3
- Explicitly buildrequire python-setuptools
Lubomír Sedlář 8d038b3
c237e5e
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.42-2
c237e5e
- Rebuilt for Python 3.9
c237e5e
Lubomír Sedlář 0d44c6b
* Tue May 05 2020 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.42-1
Lubomír Sedlář 0d44c6b
- New upstream release
Lubomír Sedlář 0d44c6b
281328f
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.37-2
281328f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
281328f
Lubomír Sedlář a5ec21b
* Tue Oct 08 2019 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.37-1
Lubomír Sedlář a5ec21b
- New upstream release
Lubomír Sedlář a5ec21b
6b60f4e
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.34-4
6b60f4e
- Rebuilt for Python 3.8.0rc1 (#1748018)
6b60f4e
b59bf14
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.34-3
b59bf14
- Rebuilt for Python 3.8
b59bf14
dcf8a96
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.34-2
dcf8a96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
dcf8a96
Lubomír Sedlář 07f4a2e
* Thu Jul 18 2019 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.34-1
Lubomír Sedlář 07f4a2e
- New upstream release
Lubomír Sedlář 07f4a2e
Lubomír Sedlář 397cca9
* Fri Jun 07 2019 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.32-1
Lubomír Sedlář 397cca9
- New upstream release
Lubomír Sedlář 397cca9
Lubomír Sedlář e427652
* Tue Jun 04 2019 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.31-1
Lubomír Sedlář e427652
- New upstream release
Lubomír Sedlář e427652
70e40a8
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.27-2
70e40a8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
70e40a8
Lubomír Sedlář 2393741
* Wed Jan 23 2019 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.27-1
Lubomír Sedlář 2393741
- New upstream release
Lubomír Sedlář 2393741
Lubomír Sedlář f730f5b
* Mon Oct 15 2018 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.26-1
Lubomír Sedlář f730f5b
- New upstream release
Lubomír Sedlář f730f5b
Lubomír Sedlář e511b2b
* Tue Aug 28 2018 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.25-1
Lubomír Sedlář e511b2b
- New upstream release
Lubomír Sedlář e511b2b
Lubomír Sedlář d8fab4b
* Tue Aug 14 2018 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.24-1
Lubomír Sedlář d8fab4b
- New upstream release
Lubomír Sedlář d8fab4b
568f862
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.23-2
568f862
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
568f862
Lubomír Sedlář 35bc822
* Wed Jul 11 2018 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.23-1
Lubomír Sedlář 35bc822
- New upstream release
Lubomír Sedlář 35bc822
e5f0fae
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.21-2
e5f0fae
- Rebuilt for Python 3.7
e5f0fae
Lubomír Sedlář e3acb57
* Mon Jun 18 2018 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.21-1
Lubomír Sedlář e3acb57
- New upstream release
Lubomír Sedlář e3acb57
Lubomír Sedlář 0925ad9
* Mon Jun 04 2018 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.20-1
Lubomír Sedlář 0925ad9
- Fix getting changelogs with malformed versions
Lubomír Sedlář 0925ad9
Lubomír Sedlář cdeced8
* Wed May 16 2018 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.19-1
Lubomír Sedlář cdeced8
- Fix changelog generation on Python 3
Lubomír Sedlář cdeced8
2e0dfa0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.18-2
2e0dfa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2e0dfa0
Lubomír Sedlář 955e35b
* Mon Oct 23 2017 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.18-1
Lubomír Sedlář abad78a
- Update packaging for Python 3
Lubomír Sedlář 955e35b
- Ignore module build suffix in changelog
Lubomír Sedlář abad78a
Lubomír Sedlář be6ebbb
* Mon Oct 02 2017 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.17-1
Lubomír Sedlář be6ebbb
- Fix copying when compose path ends with slash
Lubomír Sedlář be6ebbb
Lubomír Sedlář 58f6bfa
* Wed Sep 20 2017 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.16-1
Lubomír Sedlář 58f6bfa
- changelog: Extract changelogs from same days
Lubomír Sedlář 58f6bfa
- Fix flaky test for package moves
Lubomír Sedlář 58f6bfa
- changelog: Use format compatible with Py 2.6
Lubomír Sedlář 58f6bfa
- list: refactor sorting composes to a separate method
Lubomír Sedlář 58f6bfa
- changelog: Format all sizes for readability
Lubomír Sedlář 58f6bfa
- Use datetime for getting current date
Lubomír Sedlář 58f6bfa
b69b929
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.15-2
b69b929
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b69b929
Lubomír Sedlář 4bcca2b
* Wed Jul 19 2017 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.15-1
Lubomír Sedlář 4bcca2b
- Bump dependency on kobo library
Lubomír Sedlář 4bcca2b
- Handle URLs to composes in latest-symlink script
Lubomír Sedlář 4bcca2b
Lubomír Sedlář a47ff45
* Wed May 31 2017 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.14-1
Lubomír Sedlář a47ff45
- New upstream release 0.1.14
Lubomír Sedlář a47ff45
Lubomír Sedlář cbbbbb9
* Tue Apr 25 2017 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.13-1
Lubomír Sedlář cbbbbb9
- Avoid crash on missing paths in composeinfo
Lubomír Sedlář cbbbbb9
Lubomír Sedlář 5a0940d
* Tue Mar 07 2017 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.12-1
Lubomír Sedlář 5a0940d
- Fix partial copy to non-existing directory
Lubomír Sedlář 5a0940d
- Add compose-create-next-dir utility (qwan)
Lubomír Sedlář 5a0940d
e540110
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11-2
e540110
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e540110
Lubomír Sedlář cee280f
* Fri Nov 25 2016 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.11-1
Lubomír Sedlář cee280f
- Fix copying disk images
Lubomír Sedlář cee280f
Lubomír Sedlář 0bbeaa0
* Wed Oct 26 2016 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.10-1
Lubomír Sedlář 0bbeaa0
- Shorten verbose changelog, --full will display everything
Lubomír Sedlář 0bbeaa0
Lubomír Sedlář 0e18b9f
* Thu Sep 15 2016 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.9-1
Lubomír Sedlář 0e18b9f
- Add a script to generate legacy .composeinfo file
Lubomír Sedlář 0e18b9f
- Add COMPOSE_ID file to copied part of compose
Lubomír Sedlář 0e18b9f
- Treat source as a separate arch when copying compose
Lubomír Sedlář 0e18b9f
Lubomír Sedlář ae468d7
* Mon Aug 29 2016 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.8-1
Lubomír Sedlář ae468d7
- New upstream release
Lubomír Sedlář ae468d7
Lubomír Sedlář ddc0db6
* Tue Aug 09 2016 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.7-1
Lubomír Sedlář ddc0db6
- Add a script to copy part of compose
Lubomír Sedlář ddc0db6
- Add a script to check packages moved between variants
Lubomír Sedlář ddc0db6
16a3c76
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.6-2
16a3c76
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
16a3c76
Lubomír Sedlář 084ac1d
* Mon May 30 2016 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.6-1
Lubomír Sedlář 084ac1d
- Fix getting SRPM summary
Lubomír Sedlář 084ac1d
Lubomír Sedlář ac3e4de
* Tue Apr 19 2016 Lubomír Sedlář <lsedlar@redhat.com> - 0.1.5-1
Lubomír Sedlář ac3e4de
- Add utility for listing composes
Lubomír Sedlář ac3e4de
- Display better error messages when changelog fails to find metadata
Lubomír Sedlář ac3e4de
Lubomír Sedlář 4223439
* Wed Apr 13 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 0.1.4-1
Lubomír Sedlář 4223439
- Add image diff to changelog (Adam Williamson)
Lubomír Sedlář 4223439
Lubomír Sedlář a5b18ef
* Wed Mar 30 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 0.1.3-1
Lubomír Sedlář a5b18ef
- Do not crash changelog when composeinfo.json is missing
Lubomír Sedlář a5b18ef
- Run tests when building package
Lubomír Sedlář a5b18ef
Lubomír Sedlář 2b816b0
* Tue Mar 15 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 0.1.2-1
Lubomír Sedlář 2b816b0
- Correctly handle epochs
Lubomír Sedlář 2b816b0
Lubomír Sedlář d5e2df0
* Thu Feb 25 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 0.1.1-1
Lubomír Sedlář d5e2df0
- Fix wrong address in license
Lubomír Sedlář d5e2df0
Lubomír Sedlář d5e2df0
* Thu Feb 25 2016 Lubomír Sedlář <lubomir.sedlar@gmail.com> - 0.1.0-1
Lubomír Sedlář d5e2df0
- Initial packaging