Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
projects
:
rebuild
>
libvmod_vslp
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 12
[-]
[+]
Changed
libvmod_vslp.spec
@@ -1,4 +1,6 @@ -%define real_name uplex-varnish-libvmod-vslp +%define real_name uplex-varnish-libvmod-vslp +%define varnish_version 2.0.3 +%define varnishsrc varnish-%{version} Name: libvmod_vslp Version: 0.1 @@ -8,7 +10,7 @@ Group: Productivity/Networking/Web/Proxy License: GPLv3 Source0: uplex-varnish-libvmod-vslp.tar.gz -Source1: varnish-2.0.3.tar.bz2 +Source1: %{varnish_src}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root BuildRequires: make, gcc, gcc-c++, autoconf @@ -20,12 +22,13 @@ %prep -tar -xvjf varnish-2.0.3.tar.bz2 -O $RPM_BUILD_ROOT +%setup -n %{varnish_src} +sleep 5s ; pwd; pwd ; sleep 10s %setup -n %{real_name} %build # this assumes that VARNISHSRC is defined on the rpmbuild command line, like this: -rpmbuild -bb --define 'VARNISHSRC /home/user/rpmbuild/BUILD/varnish-2.0.3' redhat/*spec +rpmbuild -bb --define 'VARNISHSRC $RPM_BUILD_ROOT/%{varnish_src}' redhat/*spec ./configure VARNISHSRC=%{VARNISHSRC} VMODDIR="$(PKG_CONFIG_PATH=%{VARNISHSRC} pkg-config --variable=vmoddir varnishapi)" --prefix=/usr/ --docdir='${datarootdir}/doc/%{name}' make make check