From 631b2ea94fc5cfcd11246da62747765fa8dc026b Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Wed, 17 Mar 2021 19:21:47 +0800 Subject: [PATCH] remove %prep for rpmbuild --- osinfo-db.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/osinfo-db.spec b/osinfo-db.spec index d7e6149..90378b1 100644 --- a/osinfo-db.spec +++ b/osinfo-db.spec @@ -1,7 +1,7 @@ Name: osinfo-db Version: 20180920 Summary: osinfo database files -Release: 4 +Release: 5 License: LGPLv2+ URL: http://libosinfo.org/ Source0: https://gitlab.com/libosinfo/osinfo-db/-/archive/%{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 use with virtualization provisioning tools. -%prep -%autosetup -p1 -rm -rf %{_sourcedir}/%{name}-%{version}.tar.xz -tar -cJvf %{_sourcedir}/%{name}-%{version}.tar.xz ./ - %install 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 %changelog +* Wed Mar 17 2021 panxiaohe - 20180920-5 +- remove %prep for rpmbuild + * Mon Aug 17 2020 shixuantong - 20180920-4 - roll back to solve the libosinfo compilation failure problem -- Gitee