From e90e936e9942593e54af1bcac1db3b8df179cc4324ca1ac657c8d782182dc1af Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 13 Mar 2021 12:13:14 +0000 Subject: [PATCH] Accepting request 878652 from home:dirkmueller:Factory - modernize spec file (move license to licensedir) OBS-URL: https://build.opensuse.org/request/show/878652 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xprop?expand=0&rev=13 --- xprop.changes | 5 +++++ xprop.spec | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/xprop.changes b/xprop.changes index 1896763..4d13bc7 100644 --- a/xprop.changes +++ b/xprop.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 12 22:17:57 UTC 2021 - Dirk Müller + +- modernize spec file (move license to licensedir) + ------------------------------------------------------------------- Fri Nov 20 10:57:17 UTC 2020 - Stefan Dirsch diff --git a/xprop.spec b/xprop.spec index ab35507..ae2b4df 100644 --- a/xprop.spec +++ b/xprop.spec @@ -1,7 +1,7 @@ # # spec file for package xprop # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,15 +22,14 @@ Release: 0 Summary: Property displayer for X License: MIT Group: System/X11/Utilities -URL: http://xorg.freedesktop.org/ +URL: https://xorg.freedesktop.org/ Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) >= 7.0.17 # This was part of the xorg-x11 package up to version 7.6 Conflicts: xorg-x11 <= 7.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description xprop displays window and font properties of an X server. @@ -40,14 +39,14 @@ xprop displays window and font properties of an X server. %build %configure -make %{?_smp_mflags} +%make_build %install %make_install %files -%defattr(-,root,root) -%doc ChangeLog COPYING README.md +%license COPYING +%doc ChangeLog README.md %{_bindir}/xprop %{_mandir}/man1/xprop.1%{?ext_man}