From 559d7ec75f5f22f3301201a2d63b2cf7c4e99c18 Mon Sep 17 00:00:00 2001 From: mgb01105731 Date: Wed, 19 Oct 2022 17:27:30 +0800 Subject: [PATCH] optimise spec file --- liburing.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/liburing.spec b/liburing.spec index 5262e0c..eda9497 100644 --- a/liburing.spec +++ b/liburing.spec @@ -1,6 +1,7 @@ +%define anolis_release 2 Name: liburing Version: 2.1 -Release: 1%{?dist} +Release: %{anolis_release}%{?dist} Summary: Linux-native io_uring I/O access library License: (GPLv2 with exceptions and LGPLv2+) or MIT Source0: https://github.com/axboe/liburing/archive/refs/tags/%{name}-%{version}.tar.gz @@ -14,7 +15,7 @@ manner, for both buffered and O_DIRECT. %package devel Summary: Development files for Linux-native io_uring I/O access library -Requires: %{name}%{_isa} = %{version}-%{release} +Requires: %{name} = %{version}-%{release} Requires: pkgconfig %description devel @@ -33,8 +34,12 @@ for the Linux-native io_uring. %install %make_install +%generate_compatibility_deps + %files +%dir %{abidir} %attr(0755,root,root) %{_libdir}/liburing.so.* +%attr(0755,root,root) %{abidir}/liburing.dump %license COPYING %files devel @@ -48,5 +53,8 @@ for the Linux-native io_uring. %{_mandir}/man7/* %changelog +* Wed Oct 19 2022 mgb01105731 - 2.1-2 +- optimise spec file + * Mon Apr 18 2022 gcdota930915 - 2.1-1 - Init from upstream version 2.1 -- Gitee