diff --git a/liburing.spec b/liburing.spec index 5262e0c27dab8fe52a87b92b37023d068a046780..eda94975817ddc14d2d74bd20f18bb05a19be52a 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