Blame SPECS/ddiskit.spec

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