Commit 9084429e authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Make forks start at version 0.1

It's already the version in the deb and rpm files anyway, as a result
the 'trunk' version fails packaging builds.
parent 21c98f66
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_COPYRIGHT([Copyright (c) 2011-2015 Varnish Software AS]) AC_COPYRIGHT([Copyright (c) 2011-2015 Varnish Software AS])
AC_INIT([libvmod-example], [trunk]) AC_INIT([libvmod-example], [0.1])
AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_MACRO_DIR([m4])
m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst])) m4_ifndef([VARNISH_VMOD_INCLUDES], AC_MSG_ERROR([Need varnish.m4 -- see README.rst]))
AC_CONFIG_SRCDIR(src/vmod_example.vcc) AC_CONFIG_SRCDIR(src/vmod_example.vcc)
......
...@@ -4,25 +4,30 @@ Version: 0.1 ...@@ -4,25 +4,30 @@ Version: 0.1
Release: 1%{?dist} Release: 1%{?dist}
License: BSD License: BSD
Group: System Environment/Daemons Group: System Environment/Daemons
Source0: libvmod-example.tar.gz Source0: lib%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: varnish >= 4.0.2 Requires: varnish >= 4.0.2
BuildRequires: make BuildRequires: make
BuildRequires: python-docutils BuildRequires: python-docutils
BuildRequires: varnish >= 4.0.2 BuildRequires: varnish >= 4.0.2
BuildRequires: varnish-libs-devel >= 4.0.2 BuildRequires: varnish-libs-devel >= 4.0.2
%description %description
Example VMOD Example VMOD
%prep %prep
%setup -n libvmod-example-trunk %setup -n lib%{name}-%{version}
%build %build
%configure --prefix=/usr/ %configure --prefix=/usr/
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%{__make} %{?_smp_mflags} check %{__make} %{?_smp_mflags} check
%install %install
[ %{buildroot} != "/" ] && %{__rm} -rf %{buildroot} [ %{buildroot} != "/" ] && %{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot} %{__make} install DESTDIR=%{buildroot}
...@@ -32,12 +37,14 @@ mv %{buildroot}/usr/share/doc/lib%{name} %{buildroot}/usr/share/doc/%{name} ...@@ -32,12 +37,14 @@ mv %{buildroot}/usr/share/doc/lib%{name} %{buildroot}/usr/share/doc/%{name}
%clean %clean
[ %{buildroot} != "/" ] && %{__rm} -rf %{buildroot} [ %{buildroot} != "/" ] && %{__rm} -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/varnis*/vmods/ %{_libdir}/varnis*/vmods/
%doc /usr/share/doc/%{name}/* %doc /usr/share/doc/%{name}/*
%{_mandir}/man?/* %{_mandir}/man?/*
%changelog %changelog
* Tue Nov 14 2012 Lasse Karstensen <lasse@varnish-software.com> - 0.1-0.20121114 * Tue Nov 14 2012 Lasse Karstensen <lasse@varnish-software.com> - 0.1-0.20121114
- Initial version. - Initial version.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment