From c37a2bda5aef2b9c39287d2cda51b106828c3bae Mon Sep 17 00:00:00 2001 From: ingvar Date: Fri, 29 Aug 2008 20:44:00 +0000 Subject: [PATCH] specfile changes - Added the LICENSE file to the libs-devel package - Moved make check to its proper place git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3148 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/redhat/varnish.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/varnish-cache/redhat/varnish.spec b/varnish-cache/redhat/varnish.spec index 6eef492a..a595ff21 100644 --- a/varnish-cache/redhat/varnish.spec +++ b/varnish-cache/redhat/varnish.spec @@ -83,7 +83,6 @@ sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g; s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %{__make} %{?_smp_mflags} -%{__make} check LD_LIBRARY_PATH="../../lib/libvarnish/.libs:../../lib/libvarnishcompat/.libs:../../lib/libvarnishapi/.libs:../../lib/libvcl/.libs" head -6 etc/default.vcl > redhat/default.vcl @@ -104,6 +103,9 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl redhat/varnish.initrc redhat/varnishlog.initrc %endif +%check +%{__make} check LD_LIBRARY_PATH="../../lib/libvarnish/.libs:../../lib/libvarnishcompat/.libs:../../lib/libvarnishapi/.libs:../../lib/libvcl/.libs" + %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} INSTALL="install -p" @@ -161,6 +163,7 @@ rm -rf %{buildroot} %{_includedir}/varnish/stats.h %{_includedir}/varnish/varnishapi.h %{_libdir}/pkgconfig/varnishapi.pc +%doc LICENSE #%files libs-static #%{_libdir}/libvarnish.a @@ -202,6 +205,8 @@ fi * Fri Aug 29 2008 Ingvar Hagelund - 2.0-0.5.beta1 - Bumped version numbers and source url for first beta release \o/ - Added a missing directory to the libs-devel package (Michael Schwendt) +- Added the LICENSE file to the libs-devel package +- Moved make check to its proper place * Wed Aug 27 2008 Ingvar Hagelund - 2.0-0.4.20080827svn3136 - Fixed up init script for varnishlog too -- 2.39.5