]> err.no Git - varnish/commitdiff
specfile changes
authoringvar <ingvar@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 29 Aug 2008 20:44:00 +0000 (20:44 +0000)
committeringvar <ingvar@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 29 Aug 2008 20:44:00 +0000 (20:44 +0000)
- 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

index 6eef492af33d986ab7827f39c11ce3c33162dd00..a595ff21050e644ae1affe6f240c9988a5653556 100644 (file)
@@ -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 <ingvar@linpro.no> - 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 <ingvar@linpro.no> - 2.0-0.4.20080827svn3136
 - Fixed up init script for varnishlog too