From f03a027da9579bc8a735397def638f7d9805d7f5f5caf78fd81530b29b86fa3c Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sat, 20 Aug 2022 08:29:00 +0000 Subject: [PATCH] Accepting request 994468 from home:dirkmueller:Factory - modernize spec-file (move license to %%licensedir) OBS-URL: https://build.opensuse.org/request/show/994468 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xeyes?expand=0&rev=8 --- xeyes.changes | 5 +++++ xeyes.spec | 15 +++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/xeyes.changes b/xeyes.changes index 8f56c1b..82ce956 100644 --- a/xeyes.changes +++ b/xeyes.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 11 07:58:31 UTC 2022 - Dirk Müller + +- modernize spec-file (move license to %%licensedir) + ------------------------------------------------------------------- Mon Aug 2 10:52:05 UTC 2021 - Stefan Dirsch diff --git a/xeyes.spec b/xeyes.spec index fc300ac..e589a8d 100644 --- a/xeyes.spec +++ b/xeyes.spec @@ -1,7 +1,7 @@ # # spec file for package xeyes # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,9 +22,9 @@ Release: 0 Summary: A follow the mouse X demo License: X11 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(xext) BuildRequires: pkgconfig(xi) @@ -34,7 +34,6 @@ BuildRequires: pkgconfig(xrender) >= 0.4 BuildRequires: pkgconfig(xt) # This was part of the xorg-x11 package up to version 7.6 Conflicts: xorg-x11 <= 7.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Xeyes watches what you do and reports to the Boss. @@ -44,14 +43,14 @@ Xeyes watches what you do and reports to the Boss. %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}/xeyes %{_mandir}/man1/xeyes.1%{?ext_man}