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.12.0
Packager: Adam Dickmeiss <adam@indexdata.dk>
URL: http://www.indexdata.com/pazpar2
Summary: pazpar2 daemon
-Requires: libyaz5 >= 5.0.0
+Requires: libyaz5 >= 5.12.0
Requires: pazpar2-xsl
%description
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