Source as URL is not compatible with source as git repo.

OBS-URL: https://build.opensuse.org/package/show/server:http/haproxy?expand=0&rev=137
This commit is contained in:
Kristoffer Gronlund 2016-11-02 17:54:13 +00:00 committed by Git OBS Bridge
parent 54bdf6f42d
commit 0fce639874
4 changed files with 6 additions and 8 deletions

View File

@ -3,7 +3,7 @@
<param name="url">http://git.haproxy.org/git/haproxy-1.6.git</param>
<param name="scm">git</param>
<param name="filename">haproxy</param>
<param name="versionformat">1.6.9+git.%ct.%h</param>
<param name="versionformat">1.6.9</param>
<param name="revision">master</param>
<param name="changesgenerate">enable</param>
</service>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17c0f7265944bcaa7e3aa84edc366ce4ee38e2747a2d051f87f85826674915d7
size 1611327

3
haproxy-1.6.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cf7d2fa891d2ae4aa6489fc43a9cadf68c42f9cb0de4801afad45d32e7dda133
size 1566715

View File

@ -40,10 +40,8 @@
%endif
%bcond_without apparmor
%define source_version 1.6.9
Name: haproxy
Version: 1.6.9+git.1477940904.ab45181
Version: 1.6.9
Release: 0
#
#
@ -68,7 +66,7 @@ BuildRequires: vim
%define pkg_home /var/lib/%{pkg_name}
#
Url: http://www.haproxy.org/
Source: http://www.haproxy.org/download/1.6/src/haproxy-%{source_version}.tar.gz
Source: http://www.haproxy.org/download/1.6/src/haproxy-%{version}.tar.gz
Source1: %{pkg_name}.init
Source2: usr.sbin.haproxy.apparmor
Source3: local.usr.sbin.haproxy.apparmor