Accepting request 849591 from home:lnussel:usrmove

- prepare usrmerge (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/849591
OBS-URL: https://build.opensuse.org/package/show/Base:System/dosfstools?expand=0&rev=72
This commit is contained in:
Matej Cepl 2020-11-21 12:48:22 +00:00 committed by Git OBS Bridge
parent 4bf18732e2
commit 90c3997d4a
2 changed files with 13 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Nov 10 10:57:30 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- prepare usrmerge (boo#1029961)
-------------------------------------------------------------------
Thu Jan 26 10:10:57 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package dosfstools
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 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/
#
@ -20,9 +20,9 @@ Name: dosfstools
Version: 4.1
Release: 0
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
License: GPL-3.0+
License: GPL-3.0-or-later
Group: System/Filesystems
Url: https://github.com/dosfstools/dosfstools
URL: https://github.com/dosfstools/dosfstools
Source: https://github.com/dosfstools/dosfstools/releases/download/v%{version}/dosfstools-%{version}.tar.gz
Source2: https://github.com/dosfstools/dosfstools/releases/download/v%{version}/dosfstools-%{version}.tar.gz.sig
Source3: %{name}.keyring
@ -51,10 +51,10 @@ make %{?_smp_mflags} CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS
%install
%make_install
#UsrMerge
%if !0%{?usrmerged}
mkdir %{buildroot}/sbin
ln -sf %{_sbindir}/{dosfsck,dosfslabel,mkdosfs,fsck.msdos,mkfs.msdos,fsck.fat,fsck.vfat,mkfs.fat,mkfs.vfat} %{buildroot}/sbin
#EndUsrMerge
%endif
%check
make check
@ -62,9 +62,9 @@ make check
%files
%defattr(-,root,root)
%doc %{_docdir}/dosfstools
#UsrMerge
%if !0%{?usrmerged}
/sbin/*
#EndUsrMerge
%endif
%{_sbindir}/dosfsck
%{_sbindir}/dosfslabel
%{_sbindir}/fatlabel