]> git.pld-linux.org Git - packages/tin.git/commitdiff
don't strip binary on install
authorJan Palus <atler@pld-linux.org>
Thu, 12 Aug 2021 13:10:22 +0000 (15:10 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 12 Aug 2021 13:10:22 +0000 (15:10 +0200)
tin-nostrip.patch [new file with mode: 0644]
tin.spec

diff --git a/tin-nostrip.patch b/tin-nostrip.patch
new file mode 100644 (file)
index 0000000..5de79ba
--- /dev/null
@@ -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
index 86991b2eabc79e9ed0ae3b8d71be13c2aba70350..8d71aab82000c16e0c3f32dce3189cb575f2db30 100644 (file)
--- 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}"
This page took 0.171406 seconds and 4 git commands to generate.