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}