|
|
|
@ -1,18 +1,24 @@
|
|
|
|
|
Summary: Gives a fake root environment
|
|
|
|
|
Name: fakeroot
|
|
|
|
|
Version: 1.20.2
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 1.21
|
|
|
|
|
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.bz2
|
|
|
|
|
Source0: http://ftp.debian.org/debian/pool/main/f/fakeroot/%{name}_%{version}.orig.tar.gz
|
|
|
|
|
|
|
|
|
|
# Address some POSIX-types related problems.
|
|
|
|
|
Patch0: fakeroot-inttypes.patch
|
|
|
|
|
# Fix LD_LIBRARY_PATH for multilib: https://bugzilla.redhat.com/show_bug.cgi?id=1241527
|
|
|
|
|
Patch1: fakeroot-multilib.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
BuildRequires: po4a
|
|
|
|
|
BuildRequires: /usr/bin/getopt
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=887001
|
|
|
|
|
BuildRequires: libacl-devel
|
|
|
|
@ -45,12 +51,17 @@ This package contains the libraries required by %{name}.
|
|
|
|
|
%patch0 -p1 -b .inttypes
|
|
|
|
|
%patch1 -p1 -b .multilib
|
|
|
|
|
|
|
|
|
|
for file in ./doc/*/*.1; do
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -i
|
|
|
|
|
pushd doc
|
|
|
|
|
po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
for file in ./doc/{*.1,*/*.1}; do
|
|
|
|
|
iconv -f latin1 -t utf8 < $file > $file.new && \
|
|
|
|
|
mv -f $file.new $file
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
for type in sysv tcp; do
|
|
|
|
|
mkdir obj-$type
|
|
|
|
|
cd obj-$type
|
|
|
|
@ -178,6 +189,9 @@ fi
|
|
|
|
|
%ghost %{_libdir}/libfakeroot/libfakeroot-0.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Dec 31 2016 Adam Williamson <awilliam@redhat.com> - 1.21-1
|
|
|
|
|
- New release 1.21
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.20.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|