[mock] modified bind_mount and tmpfs plugins to use hooks for shell and chroot refactored --shell and --chr

John Clark Williams jcwillia at fedoraproject.org
Fri Oct 14 14:23:59 UTC 2011


commit 85abec316daf4fd05c09830077853762d5fdc66b
Author: Clark Williams <williams at redhat.com>
Date:   Fri Oct 14 09:23:55 2011 -0500

    modified bind_mount and tmpfs plugins to use hooks for shell and chroot
    refactored --shell and --chroot commands [BZ# 619533,728004,745550]
    added input validation for --buildsrpm [BZ# 743173]
    ensured configs don't have execute bit set [BZ# 744013]
    modified root cache pluging to not cache bind mounts [BZ# 744727]
    removed invalid excludes from epel-{4,5}-x86_64 configs [BZ# 533762]
    From Marko Myllynen <myllynen at redhat.com>:
    Set HOME properly when doing SCM checkouts [BZ# 745394]
    Support for setting timestamps for Git checkouts [BZ# 745396]
    From Yury V. Zaytsev <yury at shurup.com>:
    fix incorrect-fsf-address rpmlint warning [BZ#741068]
    From Jan Vcelak <jvcelak at redhat.com>:
    resolve SELinux filesystem mountpoint [BZ# 734781]

 .gitignore |    1 +
 mock.spec  |   22 ++++++++++++++++++++--
 sources    |    2 +-
 3 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 45c6801..fb7a784 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ mock-1.1.4.tar.gz
 /mock-1.1.13.tar.gz
 /mock-1.1.14.tar.gz
 /mock-1.1.15.tar.gz
+/mock-1.1.16.tar.gz
diff --git a/mock.spec b/mock.spec
index 6d4bb59..b08104f 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 15
+%define sub 16
 %define extralevel %{nil}
 %define release_name mock
 %define release_version %{major}.%{minor}.%{sub}%{extralevel}
@@ -59,8 +59,11 @@ ln -s fedora-rawhide-x86_64.cfg fedora-devel-x86_64.cfg
 ln -s fedora-rawhide-ppc.cfg fedora-devel-ppc.cfg
 ln -s fedora-rawhide-ppc64.cfg fedora-devel-ppc64.cfg
 popd
+echo "%defattr(0644, root, mock)" > %{name}.cfgs
 find $RPM_BUILD_ROOT%{_sysconfdir}/mock -name "*.cfg" \
-    | sed -e "s|^$RPM_BUILD_ROOT|%%config(noreplace) |" > %{name}.cfgs
+    | sed -e "s|^$RPM_BUILD_ROOT|%%config(noreplace) |" >> %{name}.cfgs
+#cat %{name}.cfgs
+
 # just for %%ghosting purposes
 ln -s fedora-rawhide-x86_64.cfg $RPM_BUILD_ROOT%{_sysconfdir}/mock/default.cfg
 
@@ -116,6 +119,21 @@ chmod 2775 /var/cache/mock
 %dir /var/lib/mock
  
 %changelog
+* Wed Oct 21 2011 Clark Williams <williams at redhat.com> - 1.1.16-1
+- modified bind_mount and tmpfs plugins to use hooks for shell and chroot
+- refactored --shell and --chroot commands [BZ# 619533,728004,745550]
+- added input validation for --buildsrpm [BZ# 743173]
+- ensured configs don't have execute bit set [BZ# 744013]
+- modified root cache pluging to not cache bind mounts [BZ# 744727]
+- removed invalid excludes from epel-{4,5}-x86_64 configs [BZ# 533762]
+- From Marko Myllynen <myllynen at redhat.com>:
+  - Set HOME properly when doing SCM checkouts [BZ# 745394]
+  - Support for setting timestamps for Git checkouts [BZ# 745396]
+- From Yury V. Zaytsev <yury at shurup.com>:
+  - fix incorrect-fsf-address rpmlint warning [BZ#741068] 
+- From Jan Vcelak <jvcelak at redhat.com>:
+  - resolve SELinux filesystem mountpoint [BZ# 734781]
+
 * Fri Sep 23 2011 Clark Williams <williams at redhat.com> - 1.1.15-1
 - Fixed logging issues due to namespace change [BZ# 740232,739550,739972]
 - Fixed error removing old RMP db files [BZ# 738052]
diff --git a/sources b/sources
index 538af08..4c81cc5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4b8c902f01830d09dc7afc8749c291b8  mock-1.1.15.tar.gz
+3e447d65d394d6b7025a9fc4333c1276  mock-1.1.16.tar.gz


More information about the scm-commits mailing list