Add Obsoletes for xorg-x11-utils

Use the make_build RPM macro
This commit is contained in:
Peter Hutterer 2021-04-16 14:20:23 +10:00
parent 59a14f4fc2
commit 26f6626695

View File

@ -1,11 +1,11 @@
Summary: X property display utility Summary: X property display utility
Name: xprop Name: xprop
Version: 1.2.3 Version: 1.2.3
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
URL: http://www.x.org URL: http://www.x.org
Source0: https://www.x.org/pub/individual/app/xprop-%{version}.tar.bz2 Source0: https://www.x.org/pub/individual/app/%{name}-%{version}.tar.bz2
BuildRequires: gcc make BuildRequires: gcc make
BuildRequires: gettext-devel BuildRequires: gettext-devel
@ -13,6 +13,8 @@ BuildRequires: libtool
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
Obsoletes: xorg-x11-utils < 7.5-39
%description %description
The xprop utility is for displaying window and font properties in an X server. The xprop utility is for displaying window and font properties in an X server.
@ -21,7 +23,7 @@ The xprop utility is for displaying window and font properties in an X server.
%build %build
%configure %configure
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
@ -33,6 +35,10 @@ make %{?_smp_mflags}
%{_mandir}/man1/xprop.1* %{_mandir}/man1/xprop.1*
%changelog %changelog
* Fri Apr 16 2021 Peter Hutterer <peter.hutterer@redhat.com> - 1.2.3-2
- Add Obsoletes for xorg-x11-utils
- Use the make_build RPM macro
* Tue Jan 19 2021 Adam Jackson <ajax@redhat.com> - 1.2.3-1 * Tue Jan 19 2021 Adam Jackson <ajax@redhat.com> - 1.2.3-1
- Initial split packaging (#1918038) - Initial split packaging (#1918038)