From 3d5874f6479d64c9fbde7988a3b87d0cfd49efabdd1c220ba3ffb4e05cefccaf Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 2 May 2021 20:43:22 +0000 Subject: [PATCH] Accepting request 889732 from home:dirkmueller:Factory - modernize spec file (move license to licensedir) OBS-URL: https://build.opensuse.org/request/show/889732 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xsetroot?expand=0&rev=8 --- xsetroot.changes | 5 +++++ xsetroot.spec | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/xsetroot.changes b/xsetroot.changes index 827accc..e682ccd 100644 --- a/xsetroot.changes +++ b/xsetroot.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat May 1 18:37:50 UTC 2021 - Dirk Müller + +- modernize spec file (move license to licensedir) + ------------------------------------------------------------------- Thu Apr 5 10:22:48 UTC 2018 - sndirsch@suse.com diff --git a/xsetroot.spec b/xsetroot.spec index c82af0d..f228d10 100644 --- a/xsetroot.spec +++ b/xsetroot.spec @@ -1,7 +1,7 @@ # # spec file for package xsetroot # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -22,9 +22,9 @@ Release: 0 Summary: Utility to set X root window parameter License: MIT Group: System/X11/Utilities -Url: http://xorg.freedesktop.org/ -Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 -BuildRequires: pkg-config +URL: https://xorg.freedesktop.org/ +Source0: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xbitmaps) BuildRequires: pkgconfig(xcursor) @@ -33,7 +33,6 @@ 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 The xsetroot program allows you to tailor the appearance of the @@ -44,14 +43,14 @@ background ("root") window on a workstation display running X. %build %configure -make %{?_smp_mflags} +%make_build %install %make_install %files -%defattr(-,root,root) -%doc ChangeLog COPYING README +%license COPYING +%doc ChangeLog README %{_bindir}/xsetroot %{_mandir}/man1/xsetroot.1%{?ext_man}