From 26f6626695923fb86a8b052e0c586ea39d648f8b Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 16 Apr 2021 14:20:23 +1000 Subject: [PATCH] Add Obsoletes for xorg-x11-utils Use the make_build RPM macro --- xprop.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/xprop.spec b/xprop.spec index 626eb56..2a70e88 100644 --- a/xprop.spec +++ b/xprop.spec @@ -1,11 +1,11 @@ Summary: X property display utility Name: xprop Version: 1.2.3 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT 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: gettext-devel @@ -13,6 +13,8 @@ BuildRequires: libtool BuildRequires: pkgconfig(x11) +Obsoletes: xorg-x11-utils < 7.5-39 + %description 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 %configure -make %{?_smp_mflags} +%make_build %install %make_install @@ -33,6 +35,10 @@ make %{?_smp_mflags} %{_mandir}/man1/xprop.1* %changelog +* Fri Apr 16 2021 Peter Hutterer - 1.2.3-2 +- Add Obsoletes for xorg-x11-utils +- Use the make_build RPM macro + * Tue Jan 19 2021 Adam Jackson - 1.2.3-1 - Initial split packaging (#1918038)