From d5840e0834b757a73bbf5072c6ec59bac9965e98c5200bf7f132c51cd8052234 Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Sun, 16 May 2021 08:54:58 +0000 Subject: [PATCH] Accepting request 893438 from home:dirkmueller:Factory - modernize spec file (move license to licensedir) OBS-URL: https://build.opensuse.org/request/show/893438 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/lndir?expand=0&rev=4 --- lndir.changes | 5 +++++ lndir.spec | 17 ++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/lndir.changes b/lndir.changes index 9ab3d7b..b78d820 100644 --- a/lndir.changes +++ b/lndir.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun May 16 08:33:59 UTC 2021 - Dirk Müller + +- modernize spec file (move license to licensedir) + ------------------------------------------------------------------- Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org diff --git a/lndir.spec b/lndir.spec index c239b8a..bcd9dfd 100644 --- a/lndir.spec +++ b/lndir.spec @@ -1,7 +1,7 @@ # # spec file for package lndir # -# Copyright (c) 2014 SUSE LINUX Products 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,14 +22,13 @@ Release: 0 Summary: Utility to create a shadow directory of symbolic links to another directory tree License: MIT Group: Development/Tools/Building -Url: http://xorg.freedesktop.org/ -Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 -BuildRequires: pkg-config +URL: https://xorg.freedesktop.org/ +Source0: https://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 +BuildRequires: pkgconfig BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xproto) >= 7.0.17 # This was part of the xorg-x11-util-devel package up to version 7.6 Conflicts: xorg-x11-util-devel <= 7.6 -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The lndir program makes a shadow copy of a directory tree, except that @@ -41,14 +40,14 @@ links pointing at the real files in the original directory tree. %build %configure -make %{?_smp_mflags} +%make_build %install %make_install %files -%defattr(-,root,root) -%doc ChangeLog COPYING README +%license COPYING +%doc ChangeLog README %{_bindir}/lndir %{_mandir}/man1/lndir.1%{?ext_man}