projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First go at returning start+offset
[yaz-moved-to-github.git]
/
yaz.spec
diff --git
a/yaz.spec
b/yaz.spec
index
e8603f5
..
8939cf4
100644
(file)
--- a/
yaz.spec
+++ b/
yaz.spec
@@
-1,11
+1,12
@@
# This file is part of the YAZ toolkit
# This file is part of the YAZ toolkit
-# Copyright (C) 1995-2011 Index Data
+# Copyright (C) 1995-2013 Index Data
#
# spec file for YAZ
#
# spec file for YAZ
+%define idmetaversion %(. ./IDMETA; echo $VERSION|tr -d '\n')
Name: yaz
Summary: Z39.50 Programs
Name: yaz
Summary: Z39.50 Programs
-Version: 4.2.14
+Version: %{idmetaversion}
Release: 1indexdata
# determine system
Release: 1indexdata
# determine system
@@
-101,8
+102,7
@@
make CFLAGS="$RPM_OPT_FLAGS"
%install
rm -fr ${RPM_BUILD_ROOT}
%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
rm ${RPM_BUILD_ROOT}/%{_libdir}/*.la
%clean