Accepting request 731546 from devel:tools
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/731546 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fakeroot?expand=0&rev=5
This commit is contained in:
commit
3d2b7c261f
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 10 13:17:38 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Modernise spec file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 10 08:42:54 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Use noun phrase in summary.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 6 08:25:55 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
Fri Sep 6 08:25:55 UTC 2019 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -19,10 +19,10 @@
|
|||||||
Name: fakeroot
|
Name: fakeroot
|
||||||
Version: 1.23
|
Version: 1.23
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Gives a fake root environment
|
Summary: Wrapper that gives a fake root environment
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://fakeroot.alioth.debian.org/
|
URL: http://fakeroot.alioth.debian.org/
|
||||||
Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.xz#/%{name}-%{version}.tar.xz
|
Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.xz#/%{name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Patch0: %{name}-1.20-lib32.patch
|
Patch0: %{name}-1.20-lib32.patch
|
||||||
@ -33,14 +33,14 @@ Patch3: %{name}-1.21-hide-dlsym-error.patch
|
|||||||
Patch4: %{name}-1.21-fix-shell-in-fakeroot
|
Patch4: %{name}-1.21-fix-shell-in-fakeroot
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
# user(daemon)/group(sys) is required for t.tar testsuite
|
||||||
|
BuildRequires: group(sys)
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
BuildRequires: libcap-devel
|
BuildRequires: libcap-devel
|
||||||
BuildRequires: libcap-progs
|
BuildRequires: libcap-progs
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: po4a
|
BuildRequires: po4a
|
||||||
BuildRequires: sharutils
|
BuildRequires: sharutils
|
||||||
# user(daemon)/group(sys) is required for t.tar testsuite
|
|
||||||
BuildRequires: group(sys)
|
|
||||||
BuildRequires: user(daemon)
|
BuildRequires: user(daemon)
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun): update-alternatives
|
||||||
@ -53,11 +53,7 @@ that simulate the effect the real library functions would have had,
|
|||||||
had the user really been root.
|
had the user really been root.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch0 -p1
|
|
||||||
%patch2 -p1
|
|
||||||
%patch3 -p1
|
|
||||||
%patch4 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fi
|
autoreconf -fi
|
||||||
@ -83,7 +79,7 @@ EOF
|
|||||||
--disable-static \
|
--disable-static \
|
||||||
--with-ipc=$type \
|
--with-ipc=$type \
|
||||||
--program-suffix=-$type
|
--program-suffix=-$type
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
||||||
@ -112,7 +108,7 @@ touch %{buildroot}%{_sysconfdir}/alternatives/{faked,fakeroot}{,.1%{ext_man}}
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
for type in sysv tcp; do
|
for type in sysv tcp; do
|
||||||
make -C obj-$type check
|
make %{?_smp_mflags} -C obj-$type check
|
||||||
done
|
done
|
||||||
|
|
||||||
%post
|
%post
|
||||||
@ -157,7 +153,8 @@ if [ $1 -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS BUGS COPYING DEBUG README doc/README.saving
|
%license COPYING
|
||||||
|
%doc AUTHORS BUGS DEBUG README doc/README.saving
|
||||||
%ghost %{_bindir}/faked
|
%ghost %{_bindir}/faked
|
||||||
%ghost %{_sysconfdir}/alternatives/faked
|
%ghost %{_sysconfdir}/alternatives/faked
|
||||||
%ghost %{_bindir}/fakeroot
|
%ghost %{_bindir}/fakeroot
|
||||||
@ -171,8 +168,8 @@ fi
|
|||||||
%ghost %{_sysconfdir}/alternatives/faked.1%{ext_man}
|
%ghost %{_sysconfdir}/alternatives/faked.1%{ext_man}
|
||||||
%ghost %{_mandir}/man1/fakeroot.1%{ext_man}
|
%ghost %{_mandir}/man1/fakeroot.1%{ext_man}
|
||||||
%ghost %{_sysconfdir}/alternatives/fakeroot.1%{ext_man}
|
%ghost %{_sysconfdir}/alternatives/fakeroot.1%{ext_man}
|
||||||
%{_mandir}/man1/faked-*.1%{ext_man}
|
%{_mandir}/man1/faked-*.1%{?ext_man}
|
||||||
%{_mandir}/man1/fakeroot-*.1%{ext_man}
|
%{_mandir}/man1/fakeroot-*.1%{?ext_man}
|
||||||
%dir %{_mandir}/nl/
|
%dir %{_mandir}/nl/
|
||||||
%dir %{_mandir}/nl/man1/
|
%dir %{_mandir}/nl/man1/
|
||||||
%dir %{_mandir}/pt/
|
%dir %{_mandir}/pt/
|
||||||
|
Loading…
Reference in New Issue
Block a user