Accepting request 103436 from home:rjschwei:branches:Base:System
usrMerge project - move files from toplevel to /usr OBS-URL: https://build.opensuse.org/request/show/103436 OBS-URL: https://build.opensuse.org/package/show/Base:System/dosfstools?expand=0&rev=25
This commit is contained in:
parent
2abedfe19f
commit
0f45dc012f
@ -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
|
||||
|
||||
|
@ -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
|
||||
License: GPLv3
|
||||
Group: System/Filesystems
|
||||
Summary: Utilities for Making and Checking MS-DOS FAT File Systems on Linux
|
||||
License: GPL-3.0
|
||||
Group: System/Filesystems
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user