From 06bc8ce6a9b57b356d8f6fa7450693928259df258331c951d626d301ca511fea Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 15 Mar 2021 15:33:48 +0000 Subject: [PATCH] Accepting request 879241 from home:dirkmueller:Factory - modernize spec file (move license to licensedir) OBS-URL: https://build.opensuse.org/request/show/879241 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xauth?expand=0&rev=13 --- xauth.changes | 5 +++++ xauth.spec | 15 +++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/xauth.changes b/xauth.changes index 1d11b56..ac41adc 100644 --- a/xauth.changes +++ b/xauth.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 15 15:19:29 UTC 2021 - Dirk Müller + +- modernize spec file (move license to licensedir) + ------------------------------------------------------------------- Fri Jul 12 10:41:09 UTC 2019 - Stefan Dirsch diff --git a/xauth.spec b/xauth.spec index 8cd5fc8..f852913 100644 --- a/xauth.spec +++ b/xauth.spec @@ -1,7 +1,7 @@ # # spec file for package xauth # -# Copyright (c) 2019 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 @@ -22,10 +22,10 @@ Release: 0 Summary: Utility to edit and display the X authorization information License: MIT Group: System/X11/Utilities -Url: http://xorg.freedesktop.org/ -Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 +URL: https://xorg.freedesktop.org/ +Source0: https://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 Patch1: xauth-tolerant-hostname-changes.diff -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xau) BuildRequires: pkgconfig(xext) @@ -34,7 +34,6 @@ BuildRequires: pkgconfig(xorg-macros) >= 1.8 # Name of subpackage when this was part of the xorg-x11 package up to version 7.6 Provides: xorg-x11-xauth = 7.6 Obsoletes: xorg-x11-xauth <= 7.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The xauth program is used to edit and display the authorization @@ -46,14 +45,14 @@ information used in connecting to the 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}/xauth %{_mandir}/man1/xauth.1%{?ext_man}