drop group, add python-unversioned-command build req, use %%license

This commit is contained in:
Peter Robinson 2018-07-17 16:30:22 +01:00
parent dd6dca5772
commit bfd7b5d650

View File

@ -3,12 +3,12 @@ Name: oz
Version: 0.16.0
Release: 5%{?dist}
License: LGPLv2
Group: Development/Libraries
URL: http://github.com/clalancette/oz
Source0: https://github.com/clalancette/%{name}/files/1209916/%{name}-%{version}.tar.gz
Patch0: s390x-01-add-basic-support.patch
Patch1: s390x-02-use-sclplmconsole.patch
Patch2: s390x-03-disable-vnc-console.patch
BuildArch: noarch
Requires: python2 >= 2.5
Requires: python2-libguestfs >= 1.18
@ -29,6 +29,8 @@ Requires: m2crypto
Requires: python2-monotonic
BuildRequires: python2
BuildRequires: python2-setuptools
BuildRequires: python-unversioned-command
%description
Oz is a set of libraries and utilities for doing automated guest OS
@ -65,7 +67,8 @@ if [ ! -f %{_sysconfdir}/oz/id_rsa-icicle-gen ]; then
fi
%files
%doc README COPYING examples
%license COPYING
%doc README examples
%dir %attr(0755, root, root) %{_sysconfdir}/oz/
%config(noreplace) %{_sysconfdir}/oz/oz.cfg
%dir %attr(0755, root, root) %{_localstatedir}/lib/oz/