Fix file confilct with old version
(cherry picked from commit 3a912d2564bd4089dc6ed80f20eca78aec8a96dd)
This commit is contained in:
parent
b837305e2a
commit
b01439cfd9
@ -2,7 +2,7 @@
|
|||||||
Summary: Gives a fake root environment
|
Summary: Gives a fake root environment
|
||||||
Name: fakeroot
|
Name: fakeroot
|
||||||
Version: 1.25.2
|
Version: 1.25.2
|
||||||
Release: 2
|
Release: 3
|
||||||
License: GPLv3+ and LGPLv2.1 and MIT and GPL+
|
License: GPLv3+ and LGPLv2.1 and MIT and GPL+
|
||||||
URL: https://tracker.debian.org/pkg/fakeroot
|
URL: https://tracker.debian.org/pkg/fakeroot
|
||||||
Source0: http://salsa.debian.org/clint/fakeroot/-/archive/upstream/1.25.2/%{name}-upstream-%{version}.tar.gz
|
Source0: http://salsa.debian.org/clint/fakeroot/-/archive/upstream/1.25.2/%{name}-upstream-%{version}.tar.gz
|
||||||
@ -15,10 +15,14 @@ Patch6: fakeroot-drop-tartest.patch
|
|||||||
BuildRequires: autoconf automake libtool po4a
|
BuildRequires: autoconf automake libtool po4a
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: /usr/bin/getopt libacl-devel libcap-devel sharutils
|
BuildRequires: /usr/bin/getopt libacl-devel libcap-devel sharutils
|
||||||
Requires: /usr/bin/getopt fakeroot-libs = %{version}-%{release}
|
Requires: /usr/bin/getopt
|
||||||
Requires(post): /usr/sbin/alternatives
|
Requires(post): /usr/sbin/alternatives
|
||||||
Requires(post): /usr/bin/readlink
|
Requires(post): /usr/bin/readlink
|
||||||
Requires(preun): /usr/sbin/alternatives
|
Requires(preun): /usr/sbin/alternatives
|
||||||
|
|
||||||
|
Provides: fakeroot-libs = %{version}-%{release}
|
||||||
|
Obsoletes: fakeroot-libs < %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
fakeroot runs a command in an environment wherein it appears to have
|
fakeroot runs a command in an environment wherein it appears to have
|
||||||
root privileges for file manipulation. fakeroot works by replacing the
|
root privileges for file manipulation. fakeroot works by replacing the
|
||||||
@ -26,10 +30,10 @@ file manipulation library functions (chmod(2), stat(2) etc.) by ones
|
|||||||
that simulate the effect the real library functions would have had,
|
that simulate the effect the real library functions would have had,
|
||||||
had the user really been root.
|
had the user really been root.
|
||||||
|
|
||||||
%package libs
|
%package help
|
||||||
Summary: Gives a fake root environment (libraries)
|
Summary: Documentation for fakeroot
|
||||||
%description libs
|
%description help
|
||||||
This package contains the libraries required by %{name}.
|
Documentation for fakeroot
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-upstream-%{version}
|
%autosetup -p1 -n %{name}-upstream-%{version}
|
||||||
@ -109,23 +113,27 @@ if [ $1 = 0 ]; then
|
|||||||
/usr/sbin/alternatives --remove fakeroot "%{_bindir}/fakeroot-sysv"
|
/usr/sbin/alternatives --remove fakeroot "%{_bindir}/fakeroot-sysv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc COPYING AUTHORS BUGS DEBUG doc/README.saving
|
%doc COPYING AUTHORS BUGS DEBUG
|
||||||
%{_bindir}/faked-*
|
%{_bindir}/faked-*
|
||||||
%ghost %{_bindir}/faked
|
%ghost %{_bindir}/faked
|
||||||
%{_bindir}/fakeroot-*
|
%{_bindir}/fakeroot-*
|
||||||
%ghost %{_bindir}/fakeroot
|
%ghost %{_bindir}/fakeroot
|
||||||
%{_mandir}/man1/faked.1*
|
|
||||||
%{_mandir}/man1/fakeroot.1*
|
|
||||||
|
|
||||||
%files libs
|
|
||||||
%dir %{_libdir}/libfakeroot
|
%dir %{_libdir}/libfakeroot
|
||||||
%{_libdir}/libfakeroot/libfakeroot-sysv.so
|
%{_libdir}/libfakeroot/libfakeroot-sysv.so
|
||||||
%{_libdir}/libfakeroot/libfakeroot-tcp.so
|
%{_libdir}/libfakeroot/libfakeroot-tcp.so
|
||||||
%ghost %{_libdir}/libfakeroot/libfakeroot-0.so
|
%ghost %{_libdir}/libfakeroot/libfakeroot-0.so
|
||||||
|
|
||||||
|
%files help -f %{name}.lang
|
||||||
|
%doc doc/README.saving
|
||||||
|
%{_mandir}/man1/faked.1*
|
||||||
|
%{_mandir}/man1/fakeroot.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 7 2021 lingsheng <lingsheng@huawei.com> - 1.25.2-3
|
||||||
|
- Fix file confilct with old version
|
||||||
|
|
||||||
* Mon 31 May 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.25.2-2
|
* Mon 31 May 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.25.2-2
|
||||||
- Skip tar test: the test is unstable and keeps on randomly failing
|
- Skip tar test: the test is unstable and keeps on randomly failing
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user