[simple-scan] Fix postun scriplet syntax error
Kalev Lember
kalev at fedoraproject.org
Fri Sep 30 12:59:34 UTC 2011
commit 0cc65308922268c961e8fbfd559f61ba06cae9f5
Author: Kalev Lember <kalevlember at gmail.com>
Date: Fri Sep 30 15:54:12 2011 +0300
Fix postun scriplet syntax error
/var/tmp/rpm-tmp.I8v0Wn: line 1: [: missing `]'
simple-scan.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/simple-scan.spec b/simple-scan.spec
index 7b186bf..4152112 100644
--- a/simple-scan.spec
+++ b/simple-scan.spec
@@ -1,6 +1,6 @@
Name: simple-scan
Version: 3.2.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Simple scanning utility
Group: Applications/Multimedia
@@ -39,7 +39,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name} --with-man --with-gnome
%postun
-if [ $1 -eq 0]; then
+if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
@@ -55,6 +55,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/glib-2.0/schemas/org.gnome.SimpleScan.gschema.xml
%changelog
+* Fri Sep 30 2011 Kalev Lember <kalevlember at gmail.com> - 3.2.0-2
+- Fix postun scriplet syntax error
+
* Wed Sep 28 2011 Ray <rstrode at redhat.com> - 3.2.0-1
- Update to 3.2.0
More information about the scm-commits
mailing list