1
0
Jan Engelhardt 2012-12-21 02:40:01 +00:00 committed by Git OBS Bridge
parent 591c2e3652
commit 590da8e984
2 changed files with 7 additions and 4 deletions

View File

@ -2,6 +2,7 @@
Fri Dec 21 02:08:44 UTC 2012 - jengelh@inai.de
- Always ship all source tarballs to make osc validator happy
- Enable version 2.0 for openSUSE:Factory which now has kernel 3.7
-------------------------------------------------------------------
Mon Dec 3 15:17:18 CET 2012 - sbrabec@suse.cz

View File

@ -17,7 +17,10 @@
Name: xtables-addons
%if "%_repository" == "Kernel_HEAD"
%if 0%{?suse_version} >= 1230 || "%_repository" == "Kernel_HEAD"
%define kernel37 1
%endif
%if 0%{?kernel37}
Version: 2.0
Release: 0
%else
@ -94,9 +97,8 @@ main kernel/iptables packages.
%prep
%{?gpg_verify: %gpg_verify %_sourcedir/%name-%version.tar.xz.asc}
echo "Version: %version"
echo "Repository: %_repository"
%if "%_repository" == "Kernel_HEAD"
echo "Version: %version. Repository: %_repository. SUSE_v: %{?suse_version}"
%if 0%{?kernel37}
%setup -Tqb7
%else
%setup -Tqb5