Author: rdieter
Update of /cvs/free/rpms/gsview/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv9086
Modified Files:
gsview.spec
Log Message:
build fixes
Index: gsview.spec
===================================================================
RCS file: /cvs/free/rpms/gsview/devel/gsview.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gsview.spec 3 Aug 2008 14:30:18 -0000 1.1
+++ gsview.spec 4 Sep 2008 16:55:08 -0000 1.2
@@ -18,7 +18,7 @@
BuildRequires: ghostscript-devel >= 7.07-15.3
%global gs_ver %(gs --version 2> /dev/null | cut -d. -f-2 )
%global gs_ver1 %(echo %{gs_ver} | cut -d. -f1 )
-%if "%{?gs_ver1}" == "7"
+%if 0%{?gs_ver1} == 7
# See
http://www.redhat.com/archives/fedora-devel-list/2004-August/msg00068.html
Requires: ghostscript >= 7.07-15.3
%endif
@@ -90,7 +90,7 @@
desktop-file-install \
--dir="$RPM_BUILD_ROOT%{_datadir}/applications" \
- --add-category="X-Livna" --vendor="" \
+ --add-category="" --vendor="" \
%{SOURCE1}
## Unpackaged files