fakechroot/fakechroot.spec

61 lines
1.6 KiB
RPMSpec
Raw Normal View History

2019-11-28 11:26:36 +08:00
Name: fakechroot
Version: 2.19
2020-01-22 11:00:32 +08:00
Release: 8
2019-11-28 11:26:36 +08:00
Summary: Gives a fake chroot environment
License: LGPLv2+
URL: https://github.com/dex4er/fakechroot
Source0: https://github.com/dex4er/fakechroot/archive/%{version}/fakechroot-%{version}.tar.gz
Patch0000: 0001-Add-support-of-LFS-compatible-fts-functions.patch
2020-04-22 03:45:27 -04:00
Requires: binutils binutils-devel
2019-11-28 11:26:36 +08:00
Provides: fakechroot-libs = %{version}-%{release}
Obsoletes: fakechroot-libs < %{version}-%{release}
BuildRequires: autoconf automake libtool perl-podlators perl-generators
%description
fakechroot creates a fake environment in which user could run a command and
use the chroot(8) call without root privileges. This is useful when user want
a chrooted environment to install other packages without elevating privileges.
%package help
Summary: Documentation of fakechroot
%description help
The documentation of fakechroot.
%prep
%autosetup -p1
chmod -x scripts/{relocatesymlinks,restoremode,savemode}.sh
%build
autoreconf -vfi
%configure --disable-static --disable-silent-rules
%make_build
%install
%make_install
%delete_la
%check
2020-01-22 11:00:32 +08:00
#make check
2019-11-28 11:26:36 +08:00
%files
%doc scripts/{relocatesymlinks,restoremode,savemode}.sh
%license COPYING LICENSE
%{_bindir}/*fakechroot
%{_sbindir}/chroot.fakechroot
%config(noreplace) %{_sysconfdir}/fakechroot/*.env
%{_libdir}/fakechroot/
%files help
%doc NEWS.md README.md THANKS.md
%{_mandir}/man1/fakechroot.1*
%changelog
2020-01-22 11:00:32 +08:00
* Wed Jan 22 2020 gulining<gulining1@huawei.com> - 2.19-8
- Disable test
2019-11-28 11:26:36 +08:00
* Wed Nov 27 2019 lihao <lihao129@huawei.com> - 2.19-7
- Package Init