From 1a4ecb1f2b6500fae5eda86c4a1b61c0ac555da0053b0332d4cd97157aab11d6 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 16 May 2021 08:54:21 +0000 Subject: [PATCH] Accepting request 893432 from home:dirkmueller:Factory - modernize spec-file (move license to licensedir) OBS-URL: https://build.opensuse.org/request/show/893432 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/imake?expand=0&rev=12 --- imake.changes | 5 +++++ imake.spec | 21 ++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/imake.changes b/imake.changes index 737c0e9..519aef6 100644 --- a/imake.changes +++ b/imake.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun May 16 08:18:17 UTC 2021 - Dirk Müller + +- modernize spec-file (move license to licensedir) + ------------------------------------------------------------------- Fri Mar 22 11:37:34 UTC 2019 - Stefan Dirsch diff --git a/imake.spec b/imake.spec index 2ab4310..9e2629f 100644 --- a/imake.spec +++ b/imake.spec @@ -1,7 +1,7 @@ # # spec file for package imake # -# 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 @@ -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,17 +22,16 @@ Release: 0 Summary: C preprocessor interface to the make utility License: MIT Group: Development/Tools/Building -Url: http://xorg.freedesktop.org/ -Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 +URL: https://xorg.freedesktop.org/ +Source0: https://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 BuildRequires: gcc-c++ -BuildRequires: pkg-config +BuildRequires: pkgconfig BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) -# This was part of the xorg-x11-util-devel package up to version 7.6 -Conflicts: xorg-x11-util-devel <= 7.6 # For Imake.tmpl, Just in case packagers don't know it's in this package. Requires: xorg-cf-files -BuildRoot: %{_tmppath}/%{name}-%{version}-build +# This was part of the xorg-x11-util-devel package up to version 7.6 +Conflicts: xorg-x11-util-devel <= 7.6 %description Imake is used to generate Makefiles from a template, a set of cpp macro @@ -50,14 +49,14 @@ converted. %build %configure --with-config-dir=%{_datadir}/X11/config -make %{?_smp_mflags} +%make_build %install %make_install %files -%defattr(-,root,root) -%doc ChangeLog COPYING README.md +%license COPYING +%doc ChangeLog README.md %{_bindir}/ccmakedep %{_bindir}/cleanlinks %{_bindir}/imake