]> git.pld-linux.org Git - packages/ash.git/blobdiff - ash.spec
im just testing one helper
[packages/ash.git] / ash.spec
index 92d44209e8a891a47ac2d97f99c4656e4002ce60..d460a1577dc29c5a50d2cd9b7109660353d356d4 100644 (file)
--- a/ash.spec
+++ b/ash.spec
@@ -1,3 +1,5 @@
+# Env: 123
+# Branch: HEAD
 # conditional build:
 # if BOOT is defined, build BOOT package too
 Summary:       Small bourne shell from Berkeley
@@ -7,7 +9,7 @@ Summary(pl):    Ma
 Summary(tr):   Ufak bir bourne kabuĂ°u
 Name:          ash
 Version:       0.4.0
-Release:       2
+Release:       3
 License:       BSD
 Group:         Applications/Shells
 Group(de):     Applikationen/Shells
@@ -33,12 +35,15 @@ Patch16:    %{name}-times.patch
 Patch17:       %{name}-debian.patch
 Patch18:       %{name}-ppid.patch
 Patch19:       %{name}-freebsd.patch
+Patch20:       %{name}-sighup.patch
 Prereq:                fileutils
 Prereq:                grep
 BuildRequires: glibc-static
 BuildRequires: flex
 BuildRequires: byacc
-%{?BOOT:BuildRequires: uClibc-devel-BOOT}
+%if %{?BOOT:1}%{!?BOOT:0}
+BuildRequires: uClibc-devel-BOOT >= 20000521
+%endif
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Conflicts:     mkinitrd <= 1.7
 
@@ -136,7 +141,7 @@ Version for bootdisk
 %patch7 -p1
 %patch8 -p1
 %patch9 -p1
-%patch10 -p1
+#%patch10 -p1
 %patch11 -p1
 %patch12 -p1
 %patch13 -p1
@@ -147,10 +152,14 @@ Version for bootdisk
 %patch17 -p1
 %patch18 -p1
 %patch19 -p1
+%patch20 -p1
 
 %build
 # BOOT
 %if %{?BOOT:1}%{!?BOOT:0}
+# some of this utilities does not compile with uClibc
+# and it is not necessary
+%{__make} mksignames mkbuiltins mknodes mksignames mksyntax mktokens
 %{__make} \
        OPT_FLAGS="-I/usr/lib/bootdisk%{_includedir} -Os" \
        LDFLAGS="-nostdlib %{rpmldflags}" \
@@ -159,6 +168,9 @@ mv -f sh ash.BOOT
 %{__make} clean
 %endif
 
+# this patch imposes memory buffers - uClibc lacks them
+patch -p1 <%{PATCH10}
+
 # other
 %{__make} OPT_FLAGS="%{rpmcflags}" LDFLAGS="-static %{rpmldflags}"
 mv -f sh ash.static
This page took 0.043508 seconds and 4 git commands to generate.