projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use YAZ backtrace facility PAZ-983
[pazpar2-moved-to-github.git]
/
pazpar2.spec
diff --git
a/pazpar2.spec
b/pazpar2.spec
index
93f3fe5
..
1cdd1b5
100644
(file)
--- a/
pazpar2.spec
+++ b/
pazpar2.spec
@@
-8,11
+8,11
@@
Group: Applications/Internet
Vendor: Index Data ApS <info@indexdata.dk>
Source: pazpar2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Vendor: Index Data ApS <info@indexdata.dk>
Source: pazpar2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: libyaz5-devel >= 5.0.0
+BuildRequires: libyaz5-devel >= 5.7.0
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/pazpar2
Summary: pazpar2 daemon
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/pazpar2
Summary: pazpar2 daemon
-Requires: libyaz5 >= 5.0.0
+Requires: libyaz5 >= 5.7.0
Requires: pazpar2-xsl
%description
Requires: pazpar2-xsl
%description
@@
-26,6
+26,14
@@
Group: Data
Requires: pazpar2
%post
Requires: pazpar2
%post
+for f in /usr/share/pazpar2/xsl/*.xsl; do
+ e=/etc/pazpar2/`basename $f`
+ if test -f $e; then
+ if diff $e $f >/dev/null; then
+ rm $e
+ fi
+ fi
+done
if [ $1 = 1 ]; then
/sbin/chkconfig --add pazpar2
/sbin/service pazpar2 start > /dev/null 2>&1
if [ $1 = 1 ]; then
/sbin/chkconfig --add pazpar2
/sbin/service pazpar2 start > /dev/null 2>&1