X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=yaz.spec;h=8939cf4e7635c4b58b64ca89c9672ab2cf9cac16;hp=3096545e9fe0f9711a55ba61de722302b826d6c1;hb=cf0d647d4a642af04013d09f412e8629897187c5;hpb=17a23431f99a678761992a2b7ad5cf6a0a2ff60c diff --git a/yaz.spec b/yaz.spec index 3096545..8939cf4 100644 --- a/yaz.spec +++ b/yaz.spec @@ -1,11 +1,12 @@ # This file is part of the YAZ toolkit -# Copyright (C) 1995-2011 Index Data +# Copyright (C) 1995-2013 Index Data # # spec file for YAZ +%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n') Name: yaz Summary: Z39.50 Programs -Version: 4.2.15 +Version: %{idmetaversion} Release: 1indexdata # determine system @@ -101,8 +102,7 @@ make CFLAGS="$RPM_OPT_FLAGS" %install rm -fr ${RPM_BUILD_ROOT} -make prefix=${RPM_BUILD_ROOT}/%{_prefix} mandir=${RPM_BUILD_ROOT}/%{_mandir} \ - libdir=${RPM_BUILD_ROOT}/%{_libdir} install +make install DESTDIR=${RPM_BUILD_ROOT} rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la %clean