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 18
[-]
[+]
Changed
libvmod_vslp.spec
@@ -1,6 +1,6 @@ %define real_name uplex-varnish-libvmod-vslp %define varnish_version 2.0.3 -%define varnishsrc varnish-%{varnish_version} +%define varnish_src varnish-%{varnish_version} Name: libvmod_vslp Version: 0.1 @@ -10,7 +10,7 @@ Group: Productivity/Networking/Web/Proxy License: GPLv3 Source0: uplex-varnish-libvmod-vslp.tar.gz -Source1: %{varnishsrc}.tar.bz2 +Source1: %{varnish_src}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root BuildRequires: make, gcc, gcc-c++, autoconf @@ -28,7 +28,7 @@ %build # this assumes that VARNISHSRC is defined on the rpmbuild command line, like this: -rpmbuild -bb --define 'VARNISHSRC $RPM_BUILD_ROOT/%{varnishsrc}' redhat/*spec +rpmbuild -bb --define 'VARNISHSRC %{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