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 Fri Dec 21 02:08:44 UTC 2012 - jengelh@inai.de
- Always ship all source tarballs to make osc validator happy - 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 Mon Dec 3 15:17:18 CET 2012 - sbrabec@suse.cz

View File

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