X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=pazpar2.spec;h=1cdd1b5d79bba105e3d8f499d3570c94e3cf9c06;hb=dfa3f5aa5c191a7e528e09789fce3d82d62c8e51;hp=93f3fe544fbe9aebeccb654e95e8de04f1da4417;hpb=4e7fbc817463e9a6e558e22816d3290778e06b5e;p=pazpar2-moved-to-github.git diff --git a/pazpar2.spec b/pazpar2.spec index 93f3fe5..1cdd1b5 100644 --- a/pazpar2.spec +++ b/pazpar2.spec @@ -8,11 +8,11 @@ Group: Applications/Internet Vendor: Index Data ApS 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 URL: http://www.indexdata.com/pazpar2 Summary: pazpar2 daemon -Requires: libyaz5 >= 5.0.0 +Requires: libyaz5 >= 5.7.0 Requires: pazpar2-xsl %description @@ -26,6 +26,14 @@ Group: Data 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