!16 remove %prep for rpmbuild
From: @panxh_purple Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
7944f0bff7
@ -1,7 +1,7 @@
|
|||||||
Name: osinfo-db
|
Name: osinfo-db
|
||||||
Version: 20201218
|
Version: 20201218
|
||||||
Summary: osinfo database files
|
Summary: osinfo database files
|
||||||
Release: 1
|
Release: 2
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://libosinfo.org/
|
URL: http://libosinfo.org/
|
||||||
Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
|
Source0: https://releases.pagure.org/libosinfo/%{name}-%{version}.tar.xz
|
||||||
@ -15,11 +15,6 @@ osinfo-db provides the database files for use with the libosinfo
|
|||||||
library. It provides information about guest operating systems for
|
library. It provides information about guest operating systems for
|
||||||
use with virtualization provisioning tools.
|
use with virtualization provisioning tools.
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -p1
|
|
||||||
rm -rf %{_sourcedir}/%{name}-%{version}.tar.xz
|
|
||||||
tar -cJvf %{_sourcedir}/%{name}-%{version}.tar.xz ./
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
|
osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
|
||||||
|
|
||||||
@ -34,6 +29,9 @@ osinfo-db-import --root %{buildroot} --dir %{_datadir}/osinfo %{SOURCE0}
|
|||||||
%{_datadir}/osinfo/LICENSE
|
%{_datadir}/osinfo/LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 17 2021 panxiaohe <panxiaohe@huawei.com> - 20201218-2
|
||||||
|
- remove %prep for rpmbuild
|
||||||
|
|
||||||
* Sat Jan 23 2021 zoulin <zoulin13@huawei.com> - 20201218-1
|
* Sat Jan 23 2021 zoulin <zoulin13@huawei.com> - 20201218-1
|
||||||
- update version to 20201218
|
- update version to 20201218
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user