]> git.pld-linux.org Git - packages/gd.git/commitdiff
- added no_ldflags_in_gdlib-config.in patch which removes propagate in
authorkloczek <kloczek@pld-linux.org>
Wed, 23 Apr 2003 16:42:12 +0000 (16:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  gdlib-config script LDFLAGS used on linking libgd into projects which will
  use libgd (seems kind gd maintainer misundesrstending of idea *-config
  scripts),
- remove workaroud for not propagate LDFLAGS in gdlib-config (isn't now
  neccessary),
- remove %define shlibver (also isn't neccessary now).

Changed files:
    gd.spec -> 1.81

gd.spec

diff --git a/gd.spec b/gd.spec
index e944b46f961b1befdf715dc3701596fe05c7b0f0..c78bbe77c9d64a8dad12f467b363198e4c9f9bc3 100644 (file)
--- a/gd.spec
+++ b/gd.spec
@@ -15,6 +15,7 @@ Source0:      http://www.boutell.com/gd/http/%{name}-%{version}.tar.gz
 Patch0:                http://downloads.rhyme.com.au/gd/patch_gd2.0.12_gif_20030401.gz
 Patch1:                %{name}-gif-am.patch
 Patch2:                %{name}-fontpath.patch
+Patch3:                %{name}-no_ldflags_in_gdlib-config.patch
 URL:           http://www.boutell.com/gd/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -24,12 +25,8 @@ BuildRequires:       libjpeg-devel
 BuildRequires: libtiff-devel
 BuildRequires: libtool >= 1:1.4.3
 BuildRequires: zlib-devel
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %{!?_without_gif:Provides:     gd(gif) = %{version}}
-
-%define                shlibver        %(echo %{version} | cut -f-2 -d.)
-# we don't want "-s" here, because it would be added to `gdlib-config --ldflags`
-%define                rpmldflags      %{nil}
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 gd is the image manipulating library. It was created to allow graphs,
@@ -144,6 +141,7 @@ para uso pelos programas que usam a libgd.
 %patch1 -p1
 %endif
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
This page took 0.034064 seconds and 4 git commands to generate.