|
|
|
@ -1,14 +1,16 @@
|
|
|
|
|
%bcond_with autoconf
|
|
|
|
|
|
|
|
|
|
Summary: Gives a fake root environment
|
|
|
|
|
Name: fakeroot
|
|
|
|
|
Version: 1.21
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.22
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
# setenv.c: LGPLv2+
|
|
|
|
|
# contrib/Fakeroot-Stat-1.8.8: Perl (GPL+ or Artistic)
|
|
|
|
|
# the rest: GPLv3+
|
|
|
|
|
License: GPLv3+ and LGPLv2+ and (GPL+ or Artistic)
|
|
|
|
|
Group: Development/Tools
|
|
|
|
|
URL: http://fakeroot.alioth.debian.org/
|
|
|
|
|
Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.gz
|
|
|
|
|
Source0: http://http.debian.net/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.bz2
|
|
|
|
|
|
|
|
|
|
# Debian package patches, from debian.tar.xz
|
|
|
|
|
Patch0: debian_eglibc-fts-without-LFS.patch
|
|
|
|
@ -20,10 +22,12 @@ Patch4: fakeroot-inttypes.patch
|
|
|
|
|
# Fix LD_LIBRARY_PATH for multilib: https://bugzilla.redhat.com/show_bug.cgi?id=1241527
|
|
|
|
|
Patch5: fakeroot-multilib.patch
|
|
|
|
|
|
|
|
|
|
%if %{with autoconf}
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: po4a
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: /usr/bin/getopt
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=887001
|
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
@ -55,10 +59,12 @@ This package contains the libraries required by %{name}.
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%if %{with autoconf}
|
|
|
|
|
autoreconf -i
|
|
|
|
|
pushd doc
|
|
|
|
|
po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg
|
|
|
|
|
popd
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
for file in ./doc/{*.1,*/*.1}; do
|
|
|
|
|
iconv -f latin1 -t utf8 < $file > $file.new && \
|
|
|
|
@ -192,6 +198,9 @@ fi
|
|
|
|
|
%ghost %{_libdir}/libfakeroot/libfakeroot-0.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 29 2017 Dominik Mierzejewski <rpm@greysector.net> - 1.22-1
|
|
|
|
|
- update to 1.22
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|