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
This commit is contained in:
Stefan Dirsch 2021-05-16 08:54:58 +00:00 committed by Git OBS Bridge
parent eee639db96
commit d5840e0834
2 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun May 16 08:33:59 UTC 2021 - Dirk Müller <dmueller@suse.com>
- modernize spec file (move license to licensedir)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org Fri Apr 13 08:46:08 UTC 2012 - vuntz@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package lndir # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # 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) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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 Summary: Utility to create a shadow directory of symbolic links to another directory tree
License: MIT License: MIT
Group: Development/Tools/Building Group: Development/Tools/Building
Url: http://xorg.freedesktop.org/ URL: https://xorg.freedesktop.org/
Source0: http://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2 Source0: https://xorg.freedesktop.org/releases/individual/util/%{name}-%{version}.tar.bz2
BuildRequires: pkg-config BuildRequires: pkgconfig
BuildRequires: pkgconfig(xorg-macros) >= 1.8 BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.17 BuildRequires: pkgconfig(xproto) >= 7.0.17
# This was part of the xorg-x11-util-devel package up to version 7.6 # This was part of the xorg-x11-util-devel package up to version 7.6
Conflicts: xorg-x11-util-devel <= 7.6 Conflicts: xorg-x11-util-devel <= 7.6
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
The lndir program makes a shadow copy of a directory tree, except that 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 %build
%configure %configure
make %{?_smp_mflags} %make_build
%install %install
%make_install %make_install
%files %files
%defattr(-,root,root) %license COPYING
%doc ChangeLog COPYING README %doc ChangeLog README
%{_bindir}/lndir %{_bindir}/lndir
%{_mandir}/man1/lndir.1%{?ext_man} %{_mandir}/man1/lndir.1%{?ext_man}