[mock] fix dangling symlink when using SCM [BZ# 758781] remove setting TMPDIR in chroot environment [BZ# 76
John Clark Williams
jcwillia at fedoraproject.org
Fri Jan 13 19:37:47 UTC 2012
commit e02a702c70a4aa7251e241e091dbec85ead6ecd8
Author: Clark Williams <williams at redhat.com>
Date: Fri Jan 13 13:37:43 2012 -0600
fix dangling symlink when using SCM [BZ# 758781]
remove setting TMPDIR in chroot environment [BZ# 769728]
add code to allow global proxy in chroot [BZ# 766199]
explicitly set unprivileged umask in --shell [BZ# 747119]
add bind-mount config to create sourcedirs [BZ# 706174]
move mount management into classes
update environment management code
.gitignore | 1 +
mock.spec | 16 ++++++++++++----
sources | 2 +-
3 files changed, 14 insertions(+), 5 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f7d59d2..545b7fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@ mock-1.1.4.tar.gz
/mock-1.1.16.tar.gz
/mock-1.1.17.tar.gz
/mock-1.1.18.tar.gz
+/mock-1.1.19.tar.gz
diff --git a/mock.spec b/mock.spec
index c59c716..ed78514 100644
--- a/mock.spec
+++ b/mock.spec
@@ -1,7 +1,7 @@
# next four lines substituted by autoconf
%define major 1
%define minor 1
-%define sub 18
+%define sub 19
%define extralevel %{nil}
%define release_name mock
%define release_version %{major}.%{minor}.%{sub}%{extralevel}
@@ -11,7 +11,7 @@
Summary: Builds packages inside chroots
Name: mock
Version: %{release_version}
-Release: 2%{?dist}
+Release: 1%{?dist}
License: GPLv2+
Group: Development/Tools
Source: https://fedorahosted.org/mock/attachment/wiki/MockTarballs/%{name}-%{version}.tar.gz
@@ -78,6 +78,8 @@ fi
%post
# TODO: use dist and version of install system, not build one
if [ ! -e %{_sysconfdir}/%{name}/default.cfg ] ; then
+ # in case of dangling symlink
+ rm -f %{_sysconfdir}/%{name}/default.cfg
arch=$(uname -i)
for ver in %{?fedora}%{?rhel} rawhide ; do
cfg=%{?fedora:fedora}%{?rhel:epel}-$ver-$arch.cfg
@@ -119,8 +121,14 @@ chmod 2775 /var/cache/mock
%dir /var/lib/mock
%changelog
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.18-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+* Mon Jan 2 2012 Clark Williams <williams at redhat.com> - 1.1.19-1
+- fix dangling symlink when using SCM [BZ# 758781]
+- remove setting TMPDIR in chroot environment [BZ# 769728]
+- add code to allow global proxy in chroot [BZ# 766199]
+- explicitly set unprivileged umask in --shell [BZ# 747119]
+- add bind-mount config to create sourcedirs [BZ# 706174]
+- move mount management into classes
+- update environment management code
* Sat Nov 26 2011 Clark Williams <williams at redhat.com> - 1.1.18-1
- modify creation of default.cfg link to force creation if the
diff --git a/sources b/sources
index 8a9a382..a061a76 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a61865ea3b068595188ea3d6ea5ffe2a mock-1.1.18.tar.gz
+96eedb33eafd7e776594be851c114e32 mock-1.1.19.tar.gz
More information about the scm-commits
mailing list