SHA256
1
0
forked from pool/osinfo-db

Accepting request 452954 from home:jengelh:branches:Virtualization

- Use more appropriate RPM group
- Avoid overwriting sources during build

OBS-URL: https://build.opensuse.org/request/show/452954
OBS-URL: https://build.opensuse.org/package/show/Virtualization/osinfo-db?expand=0&rev=24
This commit is contained in:
Dirk Mueller 2017-01-30 15:32:33 +00:00 committed by Git OBS Bridge
parent c07d6cf337
commit c917f1e57b
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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/