From c4a2fa3699a9d428f84c85b71f5fd1ae034cdbb0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 10 Jun 2013 11:23:41 +0200 Subject: gd: cleanups --- gd.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gd.spec b/gd.spec index b296ffe..e8f01cc 100644 --- a/gd.spec +++ b/gd.spec @@ -12,7 +12,7 @@ URL: http://libgd.bitbucket.org/ %if 0%{?commit:1} # git clone git@bitbucket.org:libgd/gd-libgd.git; cd gd-libgd # git archive --format=tgz --output=libgd-2.1.0-$(git rev-parse master).tgz --prefix=libgd-2.1.0/ master -Source0: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-%{version}-%{commit}.tgz +Source0: libgd-%{version}-%{commit}.tgz %else Source0: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-%{version}%{?prever:-%{prever}}.tar.xz %endif @@ -100,6 +100,7 @@ CFLAGS="$RPM_OPT_FLAGS -DDEFAULT_FONTPATH='\"\ --disable-rpath make %{?_smp_mflags} + %install make install INSTALL='install -p' DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_libdir}/libgd.la @@ -114,6 +115,7 @@ make check %postun -p /sbin/ldconfig + %files %doc COPYING %{_libdir}/*.so.* -- cgit