]> git.pld-linux.org Git - packages/util-linux.git/blobdiff - util-linux.spec
- fixed info patch
[packages/util-linux.git] / util-linux.spec
index b710f4d9031877f25e3e1ce0b6cc61ee813e6071..99ba59cb15e662a3c4e18f750c8eafc1211f62a9 100644 (file)
@@ -16,7 +16,7 @@ Summary(pl):  Zbi
 Summary(tr):   Temel sistem araçlarý
 Name:          util-linux
 Version:       2.11g
-Release:       3@%{_kernel_series}
+Release:       4@%{_kernel_series}
 License:       Distributable
 Group:         Applications/System
 Group(de):     Applikationen/System
@@ -74,6 +74,8 @@ Conflicts:    kernel %{?_kernel24:<} {!?_kernel24:>=} 2.3.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     util-linux-suids
 
+%define                debugcflags     -O1 -g
+
 %description
 util-linux contains a large variety of low-level system utilities
 necessary for a functional Linux system. This includes, among other
@@ -315,13 +317,15 @@ Obs
 %patch15 -p1
 %patch16 -p1
 %patch20 -p1
+%if !%{_kernel24}
 %patch21 -p1
+%endif
 
 %build
-CFLAGS="%{!?debug:%{rpmcflags}} %{?debug:-O1} -I%{_includedir}/ncurses"
-%configure
+CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
+%configure2_13
 
-%{__make} OPT="%{!?debug:%{rpmcflags}} %{?debug:-O1}" \
+%{__make} OPT="%{rpmcflags}" \
        MOREHELPDIR=%{_datadir}/misc \
        ADD_RAW="yes"
 
This page took 0.041569 seconds and 4 git commands to generate.