From ee56ec845857ce3f0e58718f00b3d405ab180191 Mon Sep 17 00:00:00 2001 From: Petr Oros Date: Tue, 17 Oct 2017 11:03:24 +0000 Subject: [PATCH] New upstream release 3.6 Signed-off-by: Petr Oros --- .gitignore | 1 + ddiskit.spec | 93 ++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 95 insertions(+) create mode 100644 ddiskit.spec diff --git a/.gitignore b/.gitignore index e69de29..ac8515e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ddiskit-3.6.tar.gz diff --git a/ddiskit.spec b/ddiskit.spec new file mode 100644 index 0000000..d2dc865 --- /dev/null +++ b/ddiskit.spec @@ -0,0 +1,93 @@ +Name: ddiskit +Version: 3.6 +Release: 1%{?dist} +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 +BuildRequires: python-devel +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 +%{__python} setup.py build + +%install +%{__python} setup.py install --skip-build --root %{buildroot} +find %{buildroot} -size 0 -delete + +%check +%{__python} setup.py test + +%files -n %{name} +%defattr(-,root,root,-) +%doc README +%license COPYING +%{python_sitelib}/* +%{_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 +* Tue Oct 17 2017 Petr Oros - 3.6-1 +- New upstream release + +* Mon Jun 26 2017 Petr Oros - 3.5-1 +- New upstream release + +* Thu Jun 22 2017 Petr Oros - 3.4-1 +- New upstream release + +* Mon Apr 24 2017 Petr Oros - 3.3-1 +- New upstream release + +* Tue Mar 14 2017 Petr Oros - 3.2-1 +- New upstream release + +* Tue Feb 28 2017 Petr Oros - 3.1-1 +- New upstream release + +* Mon Feb 13 2017 Petr Oros - 3.0-2 +- Bump version after few important fixes + +* Mon Sep 5 2016 Petr Oros - 3.0-1 +- Initial package. + diff --git a/sources b/sources index e69de29..7e162ba 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (ddiskit-3.6.tar.gz) = ed1b4ffb4366e0c5f3f1a780fb0dfda6e9c9ac88840a2a66f2cbffc7ba25e96c0aeb12482e94e08253cb7571996f80aca45ff6fd494cdca35c68f06bd381b36b