]> git.pld-linux.org Git - packages/dotnet-gtk-sharp.git/commitdiff
- fixed spec parse error when gtkhtml-devel is not installed
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 3 Apr 2005 00:56:35 +0000 (00:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dotnet-gtk-sharp.spec -> 1.62

dotnet-gtk-sharp.spec

index 2d4cb146bf6f88a866c3148e699a0d8b1b1826f4..11be4ad69205d9da47ba05ca0a0efee5d372ed19 100644 (file)
@@ -1,5 +1,5 @@
 %define                gtkhtml_soversion       %(/bin/ls %{_libdir}/libgtkhtml-3.6.so.* | /usr/bin/head -n 1 | /usr/bin/awk '{ split($1,v,"."); print v[4]; }')
-%define                gtkhtml_version         %(if [ -e /usr/bin/pkg-config ]; then /usr/bin/pkg-config --modversion libgtkhtml-3.6; else echo 0; fi)
+%define                gtkhtml_version         %(if [ -e /usr/bin/pkg-config ]; then /usr/bin/pkg-config --modversion libgtkhtml-3.6 2>/dev/null || echo 0; else echo 0; fi)
 %include       /usr/lib/rpm/macros.perl
 Summary:       .NET language bindings for GTK+ and GNOME
 Summary(pl):   Wi±zania GTK+ oraz GNOME dla .NET
This page took 0.03247 seconds and 4 git commands to generate.