Accepting request 103534 from Base:System

- place binaries in /usr tree (UsrMerge project)

OBS-URL: https://build.opensuse.org/request/show/103534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dosfstools?expand=0&rev=27
This commit is contained in:
Stephan Kulow 2012-02-14 10:23:46 +00:00 committed by Git OBS Bridge
commit 0b1edb7959
2 changed files with 16 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 8 20:39:33 UTC 2012 - rschweikert@suse.com
- place binaries in /usr tree (UsrMerge project)
-------------------------------------------------------------------
Fri Sep 30 14:51:02 UTC 2011 - uli@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package dosfstools
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,14 +16,13 @@
#
Name: dosfstools
Provides: mkdosfs dosfsck
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
License: GPL-3.0
Group: System/Filesystems
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
Version: 3.0.10
Release: 14
Release: 0
Url: http://freshmeat.net/projects/dosfstools
Source: %{name}_%{version}.orig.tar.bz2
Patch0: %{name}-suse-dirs.patch
@ -49,12 +48,19 @@ drives or on floppies.
make CC="%__cc" OPTFLAGS="-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE $RPM_OPT_FLAGS" %{?_smp_mflags}
%install
%makeinstall
%makeinstall SBINDIR=%{_sbindir}
#UsrMerge
mkdir $RPM_BUILD_ROOT/sbin
ln -sf %{_sbindir}/{dosfsck,dosfslabel,mkdosfs,fsck.msdos,mkfs.msdos} $RPM_BUILD_ROOT/sbin
#EndUsrMerge
%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}
#UsrMerge
/sbin/*
#EndUsrMerge
%{_sbindir}/*
%{_mandir}/man8/*.gz
%changelog