[mock] fixed post scriptlet to use correct keyword to getent

John Clark Williams jcwillia at fedoraproject.org
Thu Apr 18 19:04:54 UTC 2013


commit 9f2fec5d052ce426653e4871e96e8f0e8111fc0b
Author: Clark Williams <clark.williams at gmail.com>
Date:   Thu Apr 18 14:04:50 2013 -0500

    fixed post scriptlet to use correct keyword to getent

 .gitignore |    1 +
 mock.spec  |    7 +++++--
 sources    |    2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9179f8c..cfe113e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,4 @@ mock-1.1.4.tar.gz
 /mock-1.1.29.tar.gz
 /mock-1.1.30.tar.gz
 /mock-1.1.31.tar.gz
+/mock-1.1.32.tar.gz
diff --git a/mock.spec b/mock.spec
index d09c017..6dbd113 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 31
+%define sub 32
 %define extralevel %{nil}
 %define release_name mock
 %define release_version %{major}.%{minor}.%{sub}%{extralevel}
@@ -80,7 +80,7 @@ rm -rf $RPM_BUILD_ROOT
 %pre
 
 # check for existence of mock group, create it if not found
-getent groupname mock > /dev/null || groupadd -f -g %mockgid -r mock
+getent group mock > /dev/null || groupadd -f -g %mockgid -r mock
 exit 0
 
 %post
@@ -139,6 +139,9 @@ fi
 %{python_sitelib}/mockbuild/scm.py*
  
 %changelog
+* Thu Apr 18 2013 Clark Williams <williams at redhat.com> - 1.1.32-1
+- fixed post scriptlet to use correct keyword to getent
+
 * Fri Apr 12 2013 Clark Williams <williams at redhat.com> - 1.1.31-1
 - removed f16 configurations files
 - selinux plugin: modify to catch yum-builddep in callback [BZ# 923927]
diff --git a/sources b/sources
index c31745d..b5dc7f0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-162e5fbf784e7551936153d47cd3bfea  mock-1.1.31.tar.gz
+af0ee864c7b840f430d4ec3275a670ec  mock-1.1.32.tar.gz


More information about the scm-commits mailing list