]> git.pld-linux.org Git - packages/vim.git/commitdiff
--without selinux added
authorMaciej Pijanka <agaran@pld-linux.org>
Sun, 4 Apr 2004 13:07:58 +0000 (13:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vim.spec -> 1.227

vim.spec

index d094bdf95354de8fa917d999616bd140f1544ecf..a75905d45e2df71be5a4e4e2f858e12f358bb698 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -11,6 +11,7 @@
 %bcond_with    ruby    # with ruby interp
 %bcond_with    tcl     # with tcl interp
 %bcond_with    bonobo  # with bonobo component (breaks other things)
+%bcond_without  selinux # without selinux
 #
 %define                _ver            6.2
 %define                _patchlevel     430
@@ -104,7 +105,7 @@ BuildRequires:      gpm-devel
 %{?with_gtk:BuildRequires:     gtk+2-devel >= 2.2.1}
 %{?with_kde:BuildRequires:     kdelibs-devel >= 9:3.0.0}
 %{?with_gnome:BuildRequires:   libgnomeui-devel >= 2.2.0.1}
-BuildRequires: libselinux-devel
+%{?with_selinux:BuildRequires: libselinux-devel}
 %{?with_motif:BuildRequires:   motif-devel}
 BuildRequires: ncurses-devel
 %{?with_perl:BuildRequires:    perl-devel}
@@ -121,7 +122,7 @@ BuildRequires:      nautilus-devel >= 2.2.0
 BuildRequires: acl-static
 BuildRequires: attr-static
 BuildRequires: glibc-static
-BuildRequires: libselinux-static
+%{?with_selinux:BuildRequires: libselinux-static}
 BuildRequires: ncurses-static
 %else
 Provides:      %{name}-static = %{epoch}:%{version}-%{release}
@@ -583,7 +584,7 @@ element bonobo.
 %patch10 -p1
 %{?with_bonobo:%patch11 -p1}
 %patch12 -p1
-%patch13 -p1
+%{?with_selinux:%patch13 -p1}
 
 %build
 cd src
This page took 0.142293 seconds and 4 git commands to generate.