]> git.pld-linux.org Git - packages/ash.git/commitdiff
- release 17: use new rpm automation. ash-0_2-27
authorkloczek <kloczek@pld-linux.org>
Wed, 11 Oct 2000 18:09:54 +0000 (18:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ash.spec -> 1.26

ash.spec

index 17b81ad5d0a6a7c472f294b15292106c42260066..7d703f7f7564a26a72824e8355617af6ff2532c2 100644 (file)
--- a/ash.spec
+++ b/ash.spec
@@ -5,19 +5,20 @@ Summary(pl):  Ma
 Summary(tr):   Ufak bir bourne kabuðu
 Name:          ash
 Version:       0.2
-Release:       25
+Release:       27
 License:       BSD
-Group:         Shells
-Group(pl):     Pow³oki
+Group:         Applications/Shells
+Group(de):     Applikationen/Shells
+Group(pl):     Aplikacje/Pow³oki
 Source0:       ftp://sunsite.unc.edu/pub/Linux/system/shells/%{name}-linux-%{version}.tar.gz
 Patch0:                %{name}-make.patch
 Patch1:                %{name}-mknodes.patch
-Patch2:                ash-fd.patch
-Patch3:                ash-exit.patch
-Patch4:                ash-echo.patch
-Patch5:                ash-mksyntax.patch
-Patch6:                ash-linux-sighup.patch
-Patch7:                ash-linux-mkinit.patch
+Patch2:                %{name}-fd.patch
+Patch3:                %{name}-exit.patch
+Patch4:                %{name}-echo.patch
+Patch5:                %{name}-mksyntax.patch
+Patch6:                %{name}-linux-sighup.patch
+Patch7:                %{name}-linux-mkinit.patch
 Prereq:                fileutils
 Prereq:                grep
 BuildRequires: glibc-static
@@ -56,8 +57,9 @@ Summary(de):  Kleine Bourne-Shell von Berkeley
 Summary(fr):   Shell Bourne réduit de Berkeley
 Summary(pl):   Ma³y shell bourne'a 
 Summary(tr):   Ufak bir bourne kabuðu
-Group:         Shells
-Group(pl):     Pow³oki
+Group:         Applications/Shells
+Group(de):     Applikationen/Shells
+Group(pl):     Aplikacje/Pow³oki
 Prereq:                fileutils
 Prereq:                grep
 Conflicts:     mkinitrd <= 1.7
@@ -98,9 +100,9 @@ avantaj
 %patch7 -p1
 
 %build
-%{__make} OPT_FLAGS="$RPM_OPT_FLAGS" STATIC=-static
+%{__make} OPT_FLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}" STATIC=-static
 mv -f sh ash.static
-%{__make} OPT_FLAGS="$RPM_OPT_FLAGS"
+%{__make} OPT_FLAGS="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -112,8 +114,6 @@ install sh.1 $RPM_BUILD_ROOT%{_mandir}/man1/ash.1
 echo ".so ash.1" > $RPM_BUILD_ROOT%{_mandir}/man1/bsh.1
 ln -sf ash $RPM_BUILD_ROOT/%{_bindir}/bsh
 
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/*
-
 %post
 if [ ! -f /etc/shells ]; then
         echo "%{_bindir}/ash" > /etc/shells
This page took 0.09569 seconds and 4 git commands to generate.