]> git.pld-linux.org Git - packages/rpm.git/commitdiff
switch to new conditional builds macros (bcond_on_ -> _with_/bcond_off_ -> _without_...
authorArtur Frysiak <artur@frysiak.net>
Tue, 22 May 2001 09:06:51 +0000 (09:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.spec -> 1.205

rpm.spec

index 45debf4c759e36f6fe30dc78a909292c14a5500f..cc21972b6aff9bab4a6245a35a16495811a1cc56 100644 (file)
--- a/rpm.spec
+++ b/rpm.spec
@@ -47,7 +47,7 @@ BuildRequires:        gettext-devel >= 0.10.38-3
 BuildRequires: libtool
 BuildRequires: automake
 BuildRequires: autoconf >= 2.13-8
-%if %{!?bcond_off_static:1}%{?bcond_off_static:0}
+BuildRequires: python-modules >= 2.2.1
 BuildRequires: zlib-devel >= 1.1.4
 # Require static library only for static build
 BuildRequires: db3-static >= 3.1.17-9
@@ -254,7 +254,7 @@ mv -f lib/Makefile.in.new lib/Makefile.in
        sed 's|@host_cpu@|%{_target_cpu}|' > macros.tmp
        --enable-v1-packages
 %configure \
-%{__make} %{?bcond_off_static:rpm_LDFLAGS="\\$(myLDFLAGS)"}
+       --enable-v1-packages \
        --with-python
 
 
This page took 0.05656 seconds and 4 git commands to generate.