2017-10-17 11:03:24 +00:00
|
|
|
Name: ddiskit
|
|
|
|
Version: 3.6
|
2018-07-12 22:40:02 +00:00
|
|
|
Release: 3%{?dist}
|
2017-10-17 11:03:24 +00:00
|
|
|
Summary: Tool for Red Hat Enterprise Linux Driver Update Disk creation
|
|
|
|
|
|
|
|
License: GPLv3
|
|
|
|
URL: https://github.com/orosp/ddiskit
|
|
|
|
Source0: https://github.com/orosp/ddiskit/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
%if 0%{?fedora} >= 25
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
BuildRequires: python2-setuptools
|
|
|
|
%else
|
2018-07-29 21:39:11 +00:00
|
|
|
BuildRequires: python2-devel
|
2017-10-17 11:03:24 +00:00
|
|
|
BuildRequires: python-setuptools
|
|
|
|
%endif
|
|
|
|
|
|
|
|
Requires: rpm createrepo genisoimage
|
|
|
|
%if 0%{?fedora} >= 23
|
|
|
|
Suggests: quilt git
|
|
|
|
Recommends: kernel-devel redhat-rpm-config rpm-build
|
|
|
|
Recommends: mock
|
|
|
|
%else
|
|
|
|
Requires: kernel-devel redhat-rpm-config rpm-build
|
|
|
|
Requires: mock
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description -n %{name}
|
|
|
|
Ddiskit is a little framework for simplifying creation of proper
|
|
|
|
Driver Update Disks (DUD) used for providing new or updated out-of-tree
|
|
|
|
kernel modules.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2018-07-29 21:25:12 +00:00
|
|
|
%py2_build
|
2017-10-17 11:03:24 +00:00
|
|
|
|
|
|
|
%install
|
2018-07-29 21:26:36 +00:00
|
|
|
%py2_install
|
2017-10-17 11:03:24 +00:00
|
|
|
find %{buildroot} -size 0 -delete
|
|
|
|
|
|
|
|
%check
|
2018-07-29 21:37:38 +00:00
|
|
|
%{__python2} setup.py test
|
2017-10-17 11:03:24 +00:00
|
|
|
|
|
|
|
%files -n %{name}
|
|
|
|
%doc README
|
|
|
|
%license COPYING
|
2018-07-29 21:11:16 +00:00
|
|
|
%{python2_sitelib}/*
|
2017-10-17 11:03:24 +00:00
|
|
|
%{_bindir}/ddiskit
|
|
|
|
%{_mandir}/man1/ddiskit.1*
|
|
|
|
%{_datadir}/bash-completion/completions/ddiskit
|
|
|
|
|
|
|
|
%dir %{_datadir}/ddiskit
|
|
|
|
%dir %{_datadir}/ddiskit/keyrings
|
|
|
|
%dir %{_datadir}/ddiskit/keyrings/rh-release
|
|
|
|
%dir %{_datadir}/ddiskit/profiles
|
|
|
|
%dir %{_datadir}/ddiskit/templates
|
|
|
|
%{_datadir}/ddiskit/templates/spec
|
|
|
|
%{_datadir}/ddiskit/templates/config
|
|
|
|
%{_datadir}/ddiskit/profiles/*
|
|
|
|
%{_datadir}/ddiskit/keyrings/rh-release/*.key
|
|
|
|
%{_datadir}/ddiskit/ddiskit.config
|
|
|
|
|
|
|
|
%config(noreplace) /etc/ddiskit.config
|
|
|
|
|
|
|
|
%changelog
|
2018-07-12 22:40:02 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 06:29:34 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-10-17 11:03:24 +00:00
|
|
|
* Tue Oct 17 2017 Petr Oros <poros@redhat.com> - 3.6-1
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
* Mon Jun 26 2017 Petr Oros <poros@redhat.com> - 3.5-1
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
* Thu Jun 22 2017 Petr Oros <poros@redhat.com> - 3.4-1
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
* Mon Apr 24 2017 Petr Oros <poros@redhat.com> - 3.3-1
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
* Tue Mar 14 2017 Petr Oros <poros@redhat.com> - 3.2-1
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
* Tue Feb 28 2017 Petr Oros <poros@redhat.com> - 3.1-1
|
|
|
|
- New upstream release
|
|
|
|
|
|
|
|
* Mon Feb 13 2017 Petr Oros <poros@redhat.com> - 3.0-2
|
|
|
|
- Bump version after few important fixes
|
|
|
|
|
|
|
|
* Mon Sep 5 2016 Petr Oros <poros@redhat.com> - 3.0-1
|
|
|
|
- Initial package.
|
|
|
|
|