diff --git a/osinfo-db.changes b/osinfo-db.changes index 77c55a7..047b7d3 100644 --- a/osinfo-db.changes +++ b/osinfo-db.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 27 13:45:33 UTC 2017 - jengelh@inai.de + +- Use more appropriate RPM group +- Avoid overwriting sources during build + ------------------------------------------------------------------- Fri Jan 13 11:40:10 MST 2017 - carnold@suse.com diff --git a/osinfo-db.spec b/osinfo-db.spec index 5002040..334b383 100644 --- a/osinfo-db.spec +++ b/osinfo-db.spec @@ -20,7 +20,7 @@ Version: 20161026 Release: 0 Summary: Osinfo database files License: LGPL-2.1+ and GPL-2.0+ -Group: System/Libraries +Group: System/Management BuildArch: noarch URL: http://libosinfo.org/ Source: https://fedorahosted.org/releases/l/i/libosinfo/%{name}-%{version}.tar.xz @@ -65,10 +65,10 @@ provisioning of new virtual machines %build cd %{_builddir} -tar cJf %{SOURCE0} osinfo-db-%{version} +tar -cJf x.tar.xz osinfo-db-%{version} %install -osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0} +osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo "%{_builddir}/x.tar.xz" %files %dir %{_datadir}/osinfo/