From 1e78ffc31469e579c3d581be4180b0179370b84b Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Wed, 17 Mar 2021 19:18:07 +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 5ec0884..e7d1305 100644 --- a/osinfo-db.spec +++ b/osinfo-db.spec @@ -1,7 +1,7 @@ Name: osinfo-db Version: 20201218 Summary: osinfo database files -Release: 1 +Release: 2 License: LGPLv2+ URL: http://libosinfo.org/ 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 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 - 20201218-2 +- remove %prep for rpmbuild + * Sat Jan 23 2021 zoulin - 20201218-1 - update version to 20201218 -- Gitee