diff --git a/libfakekey.spec b/libfakekey.spec index db4db0b..f483218 100644 --- a/libfakekey.spec +++ b/libfakekey.spec @@ -21,8 +21,8 @@ BuildRequires: automake BuildRequires: libtool %endif -BuildRequires: libXtst-devel -BuildRequires: libXi-devel +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xtst) %description libfakekey is a simple library for converting UTF-8 characters into @@ -32,9 +32,8 @@ libfakekey is a simple library for converting UTF-8 characters into Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} -Requires: pkgconfig -Requires: libXtst-devel -Requires: libXi-devel +Requires: pkgconfig(x11) +Requires: pkgconfig(xtst) %description devel The %{name}-devel package contains libraries and header files for @@ -77,6 +76,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libfakekey.la - Update URLs - Adjust whitespace to match personal preference - Add a build conditional for autoreconf +- Use pkgconfig(…) dependencies where appropriate * Thu Jul 22 2021 Fedora Release Engineering - 0.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild