|
|
cfeba8 |
# Use the forge macros to simplify packaging.
|
|
|
cfeba8 |
# See https://fedoraproject.org/wiki/Forge-hosted_projects_packaging_automation
|
|
|
cfeba8 |
%global forgeurl https://github.com/orosp/ddiskit
|
|
|
cfeba8 |
# When we no longer need to build against a git commit,
|
|
|
cfeba8 |
# Simply remove the commit variable and update the Version
|
|
|
cfeba8 |
# Then forge will pick up the release
|
|
|
cfeba8 |
%global commit de1f6847223085dcdd177e02a7298c835fae12a3
|
|
|
cfeba8 |
|
|
|
cfeba8 |
Name: ddiskit
|
|
|
cfeba8 |
Version: 3.6
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%forgemeta
|
|
|
cfeba8 |
|
|
|
e0fec1 |
Release: 16%{?dist}
|
|
|
cfeba8 |
Summary: Tool for Red Hat Enterprise Linux Driver Update Disk creation
|
|
|
cfeba8 |
|
|
|
cfeba8 |
License: GPLv3
|
|
|
cfeba8 |
URL: %{forgeurl}
|
|
|
cfeba8 |
Source0: %{forgesource}
|
|
|
cfeba8 |
|
|
|
0e4576 |
Patch0001: 0001-kabi-stablelists.patch
|
|
|
e0fec1 |
Patch0002: 0002-kernel-version-re-fix.patch
|
|
|
0e4576 |
|
|
|
cfeba8 |
BuildArch: noarch
|
|
|
cfeba8 |
BuildRequires: python3-devel
|
|
|
cfeba8 |
BuildRequires: python3-setuptools
|
|
|
cfeba8 |
|
|
|
cfeba8 |
Requires: rpm createrepo
|
|
|
cfeba8 |
Requires: /usr/bin/mkisofs
|
|
|
cfeba8 |
Suggests: quilt git
|
|
|
cfeba8 |
Recommends: kernel-devel redhat-rpm-config rpm-build
|
|
|
cfeba8 |
Recommends: mock
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%description -n %{name}
|
|
|
cfeba8 |
Ddiskit is a little framework for simplifying creation of proper
|
|
|
cfeba8 |
Driver Update Disks (DUD) used for providing new or updated out-of-tree
|
|
|
cfeba8 |
kernel modules.
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%prep
|
|
|
cfeba8 |
%forgesetup
|
|
|
cfeba8 |
|
|
|
0e4576 |
%patch0001 -p1
|
|
|
e0fec1 |
%patch0002 -p1
|
|
|
0e4576 |
|
|
|
cfeba8 |
%build
|
|
|
cfeba8 |
%py3_build
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%install
|
|
|
cfeba8 |
%py3_install
|
|
|
cfeba8 |
find %{buildroot} -size 0 -delete
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%check
|
|
|
cfeba8 |
%{__python3} setup.py test
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%files -n %{name}
|
|
|
cfeba8 |
%doc README
|
|
|
cfeba8 |
%license COPYING
|
|
|
cfeba8 |
%{python3_sitelib}/*
|
|
|
cfeba8 |
%{_bindir}/ddiskit
|
|
|
cfeba8 |
%{_mandir}/man1/ddiskit.1*
|
|
|
cfeba8 |
%{_datadir}/bash-completion/completions/ddiskit
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%dir %{_datadir}/ddiskit
|
|
|
cfeba8 |
%dir %{_datadir}/ddiskit/keyrings
|
|
|
cfeba8 |
%dir %{_datadir}/ddiskit/keyrings/rh-release
|
|
|
cfeba8 |
%dir %{_datadir}/ddiskit/profiles
|
|
|
cfeba8 |
%dir %{_datadir}/ddiskit/templates
|
|
|
cfeba8 |
%{_datadir}/ddiskit/templates/spec
|
|
|
cfeba8 |
%{_datadir}/ddiskit/templates/config
|
|
|
cfeba8 |
%{_datadir}/ddiskit/profiles/*
|
|
|
cfeba8 |
%{_datadir}/ddiskit/keyrings/rh-release/*.key
|
|
|
cfeba8 |
%{_datadir}/ddiskit/ddiskit.config
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%config(noreplace) /etc/ddiskit.config
|
|
|
cfeba8 |
|
|
|
cfeba8 |
%changelog
|
|
|
e0fec1 |
* Mon Jul 11 2022 Eugene Syromiatnikov <esyr@redhat.com> - 3.6-16
|
|
|
e0fec1 |
- Update kernel version RE for RHEL 9 idiosyncrasies (#2101634).
|
|
|
e0fec1 |
|
|
|
0e4576 |
* Mon Feb 14 2022 Eugene Syromiatnikov <esyr@redhat.com> - 3.6-15
|
|
|
0e4576 |
- Support kernel-abi-stablelists package usage in RHEL 9 (#1990207).
|
|
|
0e4576 |
|
|
|
cfeba8 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.6-14.gitde1f684.gitde1f684
|
|
|
cfeba8 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
cfeba8 |
Related: rhbz#1991688
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Thu Apr 29 2021 Eugene Syromiatnikov <esyr@redhat.com> - 3.6-13
|
|
|
cfeba8 |
- Change "Requires: genisoimage" dependency to "Requires: /usr/bin/mkisofs"
|
|
|
cfeba8 |
to enable xorriso-provided drop-in replacement implementation usage.
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 3.6-12
|
|
|
cfeba8 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-11
|
|
|
cfeba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Wed Oct 14 2020 Cestmir Kalina <ckalina@redhat.com> - 3.6-10
|
|
|
cfeba8 |
- Remove Python 2 relevant chunks
|
|
|
cfeba8 |
- Fixes #1885256
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-9
|
|
|
cfeba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 3.6-8
|
|
|
cfeba8 |
- Rebuilt for Python 3.9
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-7
|
|
|
cfeba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Fri Nov 29 2019 Zamir SUN <zsun@fedoraproject.org> - 3.6-6.20191129gitde1f684
|
|
|
cfeba8 |
- Update to Python3 support in de1f6847223085dcdd177e02a7298c835fae12a3
|
|
|
cfeba8 |
- Fixes RHBZ#1777623
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-5
|
|
|
cfeba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-4
|
|
|
cfeba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
cfeba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
|
|
|
cfeba8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Tue Oct 17 2017 Petr Oros <poros@redhat.com> - 3.6-1
|
|
|
cfeba8 |
- New upstream release
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Mon Jun 26 2017 Petr Oros <poros@redhat.com> - 3.5-1
|
|
|
cfeba8 |
- New upstream release
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Thu Jun 22 2017 Petr Oros <poros@redhat.com> - 3.4-1
|
|
|
cfeba8 |
- New upstream release
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Mon Apr 24 2017 Petr Oros <poros@redhat.com> - 3.3-1
|
|
|
cfeba8 |
- New upstream release
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Tue Mar 14 2017 Petr Oros <poros@redhat.com> - 3.2-1
|
|
|
cfeba8 |
- New upstream release
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Tue Feb 28 2017 Petr Oros <poros@redhat.com> - 3.1-1
|
|
|
cfeba8 |
- New upstream release
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Mon Feb 13 2017 Petr Oros <poros@redhat.com> - 3.0-2
|
|
|
cfeba8 |
- Bump version after few important fixes
|
|
|
cfeba8 |
|
|
|
cfeba8 |
* Mon Sep 5 2016 Petr Oros <poros@redhat.com> - 3.0-1
|
|
|
cfeba8 |
- Initial package.
|
|
|
cfeba8 |
|