[packages/most] - disable stripping in makefile; release 2

qboosh qboosh at pld-linux.org
Sat Oct 26 18:14:27 CEST 2024


commit f567f07398b317dc1b5fa20264ea96a9123f685c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Oct 26 17:51:12 2024 +0200

    - disable stripping in makefile; release 2

 most-no-strip.patch | 11 +++++++++++
 most.spec           |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/most.spec b/most.spec
index 59cf7b7..fcf7b1f 100644
--- a/most.spec
+++ b/most.spec
@@ -2,12 +2,13 @@ Summary:	SLang based pager
 Summary(pl.UTF-8):	Pager bazujący na SLangu
 Name:		most
 Version:	5.2.0
-Release:	1
+Release:	2
 License:	GPL v2+
 Group:		Applications/Text
 Source0:	http://www.jedsoft.org/releases/most/%{name}-%{version}.tar.gz
 # Source0-md5:	13229d5d271c5058429c890f155adf45
 Patch0:		%{name}-autoconf.patch
+Patch1:		%{name}-no-strip.patch
 URL:		http://www.jedsoft.org/most/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
@@ -27,6 +28,7 @@ pliki przed rozpoczęciem przeglądania.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %{__sed} -i -e 's@%{_prefix}/lib@%{_prefix}/%{_lib}@' autoconf/aclocal.m4
 
diff --git a/most-no-strip.patch b/most-no-strip.patch
new file mode 100644
index 0000000..db803a9
--- /dev/null
+++ b/most-no-strip.patch
@@ -0,0 +1,11 @@
+--- most-5.2.0/src/Makefile.in.orig	2022-08-04 17:24:21.000000000 +0200
++++ most-5.2.0/src/Makefile.in	2024-10-26 17:45:22.144414532 +0200
+@@ -89,7 +89,7 @@ installdirs:
+ 	$(MKINSDIR) $(DEST_MANDIR)/man1
+ 	$(MKINSDIR) $(DEST_BINDIR)
+ install: all installdirs
+-	$(INSTALL) -s $(OBJDIR)/most $(DEST_BINDIR)
++	$(INSTALL) $(OBJDIR)/most $(DEST_BINDIR)
+ 	$(INSTALL_DATA) ../doc/most.1 $(DEST_MANDIR)/man1
+ 	@for i in $(DOC_FILES); \
+ 	do \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/most.git/commitdiff/f567f07398b317dc1b5fa20264ea96a9123f685c



More information about the pld-cvs-commit mailing list