From a499909fa8c9e6d61d801c1c6c84d6f6f4dc9a7a Mon Sep 17 00:00:00 2001 From: Petr Šabata Date: Aug 01 2013 07:25:31 +0000 Subject: Simplify the installation --- diff --git a/dash.spec b/dash.spec index 778e0d1..fb1150c 100644 --- a/dash.spec +++ b/dash.spec @@ -1,6 +1,6 @@ Name: dash Version: 0.5.7 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Small and fast POSIX-compliant shell Group: System Environment/Shells # BSD: DASH in general @@ -20,14 +20,11 @@ significantly faster than bash (the GNU Bourne-Again SHell) for most tasks. %setup -q %build -%configure +%configure --bindir=/bin make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} -mkdir -p %{buildroot}/bin -mv %{buildroot}%{_bindir}/dash %{buildroot}/bin/ -rmdir %{buildroot}%{_bindir}/ %post grep -q '^/bin/dash$' %{_sysconfdir}/shells || \ @@ -44,6 +41,9 @@ fi %{_mandir}/man1/%{name}.1* %changelog +* Thu Aug 01 2013 Petr Šabata - 0.5.7-8 +- Simplify the installation + * Wed Jul 31 2013 Petr Šabata - 0.5.7-7 - Correct the License tag once again - Utilize the %%{name} and %%{_mandir} macros a bit more