diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..5d832eb --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,8 @@ +libxkbfile1 + provides "xorg-x11-libxkbfile- = 7.6_" + obsoletes "xorg-x11-libxkbfile- < 7.6_" +libxkbfile-devel + requires -libxkbfile- + requires "libxkbfile1- = " + provides "xorg-x11-libxkbfile-devel- = 7.6_" + obsoletes "xorg-x11-libxkbfile-devel- < 7.6_" diff --git a/libxkbfile-1.1.0.tar.bz2 b/libxkbfile-1.1.0.tar.bz2 deleted file mode 100644 index 3372541..0000000 Binary files a/libxkbfile-1.1.0.tar.bz2 and /dev/null differ diff --git a/libxkbfile-1.1.2.tar.xz b/libxkbfile-1.1.2.tar.xz new file mode 100644 index 0000000..7e65abc Binary files /dev/null and b/libxkbfile-1.1.2.tar.xz differ diff --git a/libxkbfile.spec b/libxkbfile.spec index 0ca81db..68f55e5 100644 --- a/libxkbfile.spec +++ b/libxkbfile.spec @@ -1,12 +1,14 @@ +%define lname libxkbfile1 Name: libxkbfile -Version: 1.1.0 -Release: 5 +Version: 1.1.2 +Release: 1 Summary: X11 keyboard file manipulation library License: MIT URL: https://www.x.org -Source0: https://www.x.org/releases/individual/lib/%{name}-%{version}.tar.bz2 +Source0: https://www.x.org/releases/individual/lib/%{name}-%{version}.tar.xz +Source1: baselibs.conf -BuildRequires: gcc xorg-x11-proto-devel libX11-devel +BuildRequires: autoconf >= 2.60 automake libtool pkgconfig pkgconfig(kbproto) pkgconfig(x11) pkgconfig(xorg-macros) >= 1.8 %description Libxkbfile is used by the X servers and utilities to parse the XKB @@ -23,8 +25,7 @@ This package is the development files for %{name}. %autosetup -n %{name}-%{version} -p1 %build -export CFLAGS="%{optflags} -fno-strict-aliasing" -%configure +%configure --disable-static %make_build %check @@ -32,10 +33,12 @@ make check %install %make_install +find %{buildroot} -type f -name "*.la" -delete -print %delete_la_and_a %ldconfig_scriptlets + %files %defattr(-,root,root) %license COPYING @@ -49,6 +52,9 @@ make check %{_libdir}/%{name}.so %changelog +* Tue Feb 14 2023 lilong - 1.1.2-1 +- Upgrade to 1.1.2 + * Wed Oct 26 2022 zhouwenpei - 1.1.0-5 - Rebuild for next release