[newlisp/f16] Remove shebang that is no longer needed
ndowens
ndowens at fedoraproject.org
Tue Nov 8 22:29:59 UTC 2011
commit 70c00cdd5f75f15e92a29621c2c0e685e09c8c56
Author: Nathan Owe <ndowens04ATgmailDOTcom>
Date: Tue Nov 8 16:29:44 2011 -0600
Remove shebang that is no longer needed
newlisp.spec | 19 ++++++++++---------
newlispdoc.1 | 51 ---------------------------------------------------
2 files changed, 10 insertions(+), 60 deletions(-)
---
diff --git a/newlisp.spec b/newlisp.spec
index 7fc7f29..8796654 100644
--- a/newlisp.spec
+++ b/newlisp.spec
@@ -1,12 +1,12 @@
Name: newlisp
Version: 10.3.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Lisp-like general purpose scripting
License: GPLv3+
URL: http://www.newlisp.org
Source0: http://www.newlisp.org/downloads/%{name}-%{version}.tgz
-Source1: http://www.newlisp.org/downloads/development/inprogress/newlispdoc.1
+
Patch2: newlisp-0002-Allow-to-override-CFLAGS.patch
Patch3: newlisp-0003-Don-t-strip-the-resulting-binary.patch
BuildRequires: readline-devel
@@ -19,12 +19,6 @@ applications.
%prep
%setup -q
-#Install fixed Man page
-install -Dm644 %{SOURCE1} doc/newlispdoc.1
-
-#Non-exec file has shebang
-sed -i 's|#!/usr/bin/newlisp||g' modules/json.lsp
-sed -i 's|#!/usr/bin/newlisp||g' util/syntax.cgi
# Allow to override CFLAGS (Fedora-specific mostly)
%patch2 -p1 -b .override_cflags
@@ -50,11 +44,18 @@ make install_home HOME=%{buildroot}/usr/
%{_mandir}/man1/*
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/modules
-%{_datadir}/%{name}/util
+%{_datadir}/%{name}/util/httpd-conf.lsp
+%{_datadir}/%{name}/util/link.lsp
+%{_datadir}/%{name}/util/nanorc
+%{_datadir}/%{name}/util/%{name}.vim
+%attr(0755,-,-) %{_datadir}/%{name}/util/syntax.cgi
%changelog
+* Tue Oct 08 2011 Nathan Owe <ndowens at fedoraproject.org> 10.3.3-2
+- Removed no longer needed sed to remove shebang
+
* Tue Oct 08 2011 Nathan Owe <ndowens at fedoraproject.org> 10.3.3-1
- Updated Email address in SPEC
- Fixed file listed twice in %%files
More information about the scm-commits
mailing list