commit 1d3c8a9aa4d60bca430720c29807d95b722e4ce0
Author: Jan Palus <[email protected]>
Date:   Thu Aug 12 15:10:22 2021 +0200

    don't strip binary on install

 tin-nostrip.patch | 11 +++++++++++
 tin.spec          |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/tin.spec b/tin.spec
index 86991b2..8d71aab 100644
--- a/tin.spec
+++ b/tin.spec
@@ -24,6 +24,7 @@ Patch0:               %{name}-enable_coloring.patch
 Patch1:                %{name}-ncurses.patch
 Patch2:                %{name}-range.patch
 Patch3:                %{name}-charset.patch
+Patch4:                %{name}-nostrip.patch
 URL:           http://www.tin.org/
 BuildRequires: bison
 BuildRequires: gettext-tools
@@ -88,6 +89,7 @@ Tin - це проста у використанні повноекранна п
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 LDFLAGS="%{rpmldflags}"
diff --git a/tin-nostrip.patch b/tin-nostrip.patch
new file mode 100644
index 0000000..5de79ba
--- /dev/null
+++ b/tin-nostrip.patch
@@ -0,0 +1,11 @@
+--- tin-2.0.1/src/Makefile.in.orig     2021-08-12 15:06:49.834866042 +0200
++++ tin-2.0.1/src/Makefile.in  2021-08-12 15:09:22.534180247 +0200
+@@ -385,7 +385,7 @@
+ install : $(DESTDIR)$(INS_BINARY_DIR)
+       @$(MAKE) all
+       @$(ECHO) "Installing $(EXE) v$(VER) to 
$(DESTDIR)$(INS_BINARY_DIR)/$(PROJEXE) ..."
+-      @$(INSTALL) -s $(BINDIR)/$(EXE) $(DESTDIR)$(INS_BINARY_DIR)/$(PROJEXE)
++      @$(INSTALL) $(BINDIR)/$(EXE) $(DESTDIR)$(INS_BINARY_DIR)/$(PROJEXE)
+       @( $(CD) $(DESTDIR)$(INS_BINARY_DIR) && $(RM) -f r$(PROJEXE) && $(LN) 
$(PROJEXE) r$(PROJEXE) )
+       @$(MAKE) install_helpers
+       @$(MAKE) install_manpage
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tin.git/commitdiff/1d3c8a9aa4d60bca430720c29807d95b722e4ce0

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to