Search
j0ke.net Open Build Service
>
Projects
>
ha
:
firewall
>
xtables-addons
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
xtables-addons.spec
@@ -34,12 +34,11 @@ %build pushd ../; -for flavor in %flavors_to_build; do - cp -a %name-%version %name-$flavor-%version; - pushd %name-$flavor-%version/; - %configure --with-kbuild=/usr/src/linux-obj/%_target_cpu/$flavor \ - --libexecdir=%{_libdir} - make %{?jobs:-j%jobs}; +for flavor in %{flavors_to_build}; do + cp -a %{name}-%{version} %{name}-${flavor}-%{version}; + pushd %{name}-${flavor}-%{version}/; + %configure --with-kbuild=/usr/src/linux-obj/%{_target_cpu}/${flavor} --libexecdir=%{_libdir} + %__make %{?jobs:-j%jobs}; popd; done; @@ -48,9 +47,9 @@ rm -Rf "$b"; mkdir "$b"; pushd ../; -for flavor in %flavors_to_build; do - pushd %name-$flavor-%version/; - make install DESTDIR="$b"; +for flavor in %{flavors_to_build}; do + pushd %{name}-${flavor}-%{version}/; + %__make install DESTDIR="$b"; popd; done; find "$b/%_prefix" -iname "*.la" -print0 | xargs -0r rm -f;