From a86ba42e35efb4cbf342e459e4cfd2875892a4ea Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Fri, 12 Aug 2016 14:09:27 +0200 Subject: [PATCH] specfile: small refactoring/indetation fixes To comply with Fedora Packaging guidelines: https://fedoraproject.org/wiki/Packaging:Guidelines --- tcsh.spec | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/tcsh.spec b/tcsh.spec index 44340e0..15ea533 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -1,23 +1,25 @@ -Name: tcsh -Summary: An enhanced version of csh, the C shell -Version: 6.19.00 -Release: 14%{?dist} -License: BSD -URL: http://www.tcsh.org/ +Name: tcsh +Summary: An enhanced version of csh, the C shell +Version: 6.19.00 +Release: 14%{?dist} +License: BSD -Provides: csh = %{version} -Provides: /bin/csh -Provides: /bin/tcsh -Requires(post): grep +URL: http://www.tcsh.org/ +Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz + +Provides: csh = %{version} +Provides: tcsh = %{version} +Provides: /bin/csh +Provides: /bin/tcsh +Requires(post): grep Requires(postun): grep Requires(postun): coreutils -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gettext-devel -BuildRequires: git -BuildRequires: ncurses-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gettext-devel +BuildRequires: git +BuildRequires: ncurses-devel -Source: ftp://ftp.astron.com/pub/tcsh/%{name}-%{version}.tar.gz # NOTE: 'autosetup' macro (below) uses 'git' for applying the patches: # ->> All the patches should be provided in 'git format-patch' format. @@ -78,12 +80,11 @@ Patch200: tcsh-6.19.00-tcsh-posix-status.patch %description -Tcsh is an enhanced but completely compatible version of csh, the C -shell. Tcsh is a command language interpreter which can be used both -as an interactive login shell and as a shell script command processor. -Tcsh includes a command line editor, programmable word completion, -spelling correction, a history mechanism, job control and a C language -like syntax. +Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh +is a command language interpreter which can be used both as an interactive login +shell and as a shell script command processor. Tcsh includes a command line +editor, programmable word completion, spelling correction, a history mechanism, +job control and a C language like syntax. # Call the 'autosetup' macro to prepare the environment, but do not patch the @@ -92,9 +93,9 @@ like syntax. %autosetup -N -S git for i in Fixes WishList; do - iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \ - touch -r "$i" "${i}_" && \ - mv "${i}_" "$i" + iconv -f iso-8859-1 -t utf-8 "$i" > "${i}_" && \ + touch -r "$i" "${i}_" && \ + mv "${i}_" "$i" done # Also, rename the Copyright so we comply with more generally accepted name: