From 4e7fbc817463e9a6e558e22816d3290778e06b5e Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 30 Apr 2014 09:42:53 +0200 Subject: [PATCH] Only put *.xsl files in pazpar2-xsl package So we can have test stuff in there as well --- debian/rules | 2 +- pazpar2.spec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/rules b/debian/rules index 994e621..4546ede 100755 --- a/debian/rules +++ b/debian/rules @@ -38,7 +38,7 @@ override_dh_auto_install: cp debian/ap2pazpar2-js.cfg debian/pazpar2-js/etc/pazpar2 mv debian/tmp/usr/share/pazpar2/js/pz2.js debian/pazpar2-js/usr/share/pazpar2/js/ # pazpar2-xsl package - cp -r etc/xsl debian/pazpar2-xsl/usr/share/pazpar2 + cp etc/xsl/*.xsl debian/pazpar2-xsl/usr/share/pazpar2/xsl override_dh_installchangelogs: dh_installchangelogs NEWS diff --git a/pazpar2.spec b/pazpar2.spec index 3b91541..93f3fe5 100644 --- a/pazpar2.spec +++ b/pazpar2.spec @@ -90,8 +90,8 @@ cp etc/default.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/ cp etc/services/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/services-available/ cp etc/settings/*.xml ${RPM_BUILD_ROOT}/etc/pazpar2/settings/ cp -r etc/settings/mkc ${RPM_BUILD_ROOT}/etc/pazpar2/settings -mkdir -p ${RPM_BUILD_ROOT}/usr/share/pazpar2 -cp -r etc/xsl ${RPM_BUILD_ROOT}/usr/share/pazpar2 +mkdir -p ${RPM_BUILD_ROOT}/usr/share/pazpar2/xsl +cp etc/xsl/*.xsl ${RPM_BUILD_ROOT}/usr/share/pazpar2/xsl mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d install -m755 rpm/pazpar2.init ${RPM_BUILD_ROOT}/etc/rc.d/init.d/pazpar2 echo "Alias /pazpar2 /usr/share/pazpar2" >${RPM_BUILD_ROOT}/etc/pazpar2/ap2pazpar2-js.cfg -- 1.7.10.4