- Small packaging cleanup
OBS-URL: https://build.opensuse.org/package/show/devel:tools/fakeroot?expand=0&rev=6
This commit is contained in:
parent
afc8869d76
commit
497df8816b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 13:44:41 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Small packaging cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 25 17:13:17 UTC 2013 - adam@mizerski.pl
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fakeroot
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,13 +15,14 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: fakeroot
|
||||
Version: 1.20
|
||||
Release: 0
|
||||
License: GPL-3.0+
|
||||
Summary: Gives a fake root environment
|
||||
Url: http://fakeroot.alioth.debian.org/
|
||||
License: GPL-3.0+
|
||||
Group: Development/Tools/Other
|
||||
Url: http://fakeroot.alioth.debian.org/
|
||||
Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.bz2
|
||||
Patch0: %{name}-1.20-lib32.patch
|
||||
Patch1: %{name}-1.20-libcap.patch
|
||||
@ -95,7 +96,7 @@ for type in sysv tcp; do
|
||||
done
|
||||
|
||||
%post
|
||||
/usr/sbin/update-alternatives --install %{_bindir}/fakeroot fakeroot %{_bindir}/fakeroot-sysv 20 \
|
||||
%{_sbindir}/update-alternatives --install %{_bindir}/fakeroot fakeroot %{_bindir}/fakeroot-sysv 20 \
|
||||
--slave %{_bindir}/faked faked %{_bindir}/faked-sysv \
|
||||
--slave %{_mandir}/man1/fakeroot.1.gz fakeroot.1.gz %{_mandir}/man1/fakeroot-sysv.1.gz \
|
||||
--slave %{_mandir}/man1/faked.1.gz faked.1.gz %{_mandir}/man1/faked-sysv.1.gz \
|
||||
@ -110,7 +111,7 @@ done
|
||||
--slave %{_mandir}/sv/man1/fakeroot.1.gz fakeroot.sv.1.gz %{_mandir}/sv/man1/fakeroot-sysv.1.gz \
|
||||
--slave %{_mandir}/sv/man1/faked.1.gz faked.sv.1.gz %{_mandir}/sv/man1/faked-sysv.1.gz
|
||||
|
||||
/usr/sbin/update-alternatives --install %{_bindir}/fakeroot fakeroot %{_bindir}/fakeroot-tcp 10 \
|
||||
%{_sbindir}/update-alternatives --install %{_bindir}/fakeroot fakeroot %{_bindir}/fakeroot-tcp 10 \
|
||||
--slave %{_bindir}/faked faked %{_bindir}/faked-tcp \
|
||||
--slave %{_mandir}/man1/fakeroot.1.gz fakeroot.1.gz %{_mandir}/man1/fakeroot-tcp.1.gz \
|
||||
--slave %{_mandir}/man1/faked.1.gz faked.1.gz %{_mandir}/man1/faked-tcp.1.gz \
|
||||
@ -127,8 +128,8 @@ done
|
||||
|
||||
%preun
|
||||
if [ $1 -eq 0 ]; then
|
||||
/usr/sbin/update-alternatives --remove fakeroot %{_bindir}/fakeroot-sysv
|
||||
/usr/sbin/update-alternatives --remove fakeroot %{_bindir}/fakeroot-tcp
|
||||
%{_sbindir}/update-alternatives --remove fakeroot %{_bindir}/fakeroot-sysv
|
||||
%{_sbindir}/update-alternatives --remove fakeroot %{_bindir}/fakeroot-tcp
|
||||
fi
|
||||
|
||||
%files
|
||||
|
Loading…
Reference in New Issue
Block a user