359d92358c
- Cleanup with spec-cleaner - Use tagged 5.7 release: * few fixes over the git version from bellow - Refresh patch nedit-5.6_builddate_fix.patch - Do not compress manpages manualy but rely on brp services OBS-URL: https://build.opensuse.org/request/show/494619 OBS-URL: https://build.opensuse.org/package/show/editors/nedit?expand=0&rev=18
52 lines
1.8 KiB
Diff
52 lines
1.8 KiB
Diff
Index: nedit-5.7/source/help.c
|
|
===================================================================
|
|
--- nedit-5.7.orig/source/help.c
|
|
+++ nedit-5.7/source/help.c
|
|
@@ -229,8 +229,7 @@ static const char *getBuildInfo(void)
|
|
{
|
|
static const char *bldFormat =
|
|
"%s\n"
|
|
- " Built on: %s, %s, %s\n"
|
|
- " Built at: %s, %s\n"
|
|
+ " Built on: openSUSE BuildService\n"
|
|
" With Motif: %s%d.%d.%d [%s]\n"
|
|
"Running Motif: %d.%d [%s]\n"
|
|
" Server: %s %d\n"
|
|
@@ -269,8 +268,6 @@ static const char *getBuildInfo(void)
|
|
|
|
sprintf(bldInfoString, bldFormat,
|
|
NEditVersion,
|
|
- COMPILE_OS, COMPILE_MACHINE, COMPILE_COMPILER,
|
|
- linkdate, linktime,
|
|
stabilities[stab], XmVERSION, XmREVISION, XmUPDATE_LEVEL,
|
|
XmVERSION_STRING,
|
|
xmUseVersion/1000, xmUseVersion%1000,
|
|
Index: nedit-5.7/source/linkdate.c
|
|
===================================================================
|
|
--- nedit-5.7.orig/source/linkdate.c
|
|
+++ nedit-5.7/source/linkdate.c
|
|
@@ -33,6 +33,3 @@
|
|
#ifdef HAVE_DEBUG_H
|
|
#include "../debug.h"
|
|
#endif
|
|
-
|
|
-const char linkdate[] = __DATE__;
|
|
-const char linktime[] = __TIME__;
|
|
Index: nedit-5.7/source/nc.c
|
|
===================================================================
|
|
--- nedit-5.7.orig/source/nc.c
|
|
+++ nedit-5.7/source/nc.c
|
|
@@ -1002,10 +1002,6 @@ static void copyCommandLineArg(CommandLi
|
|
static void printNcVersion(void ) {
|
|
static const char *const ncHelpText = \
|
|
"nc (NEdit) Version 5.7 (January 2017)\n\n\
|
|
- Built on: %s, %s, %s\n\
|
|
- Built at: %s, %s\n";
|
|
-
|
|
- fprintf(stdout, ncHelpText,
|
|
- COMPILE_OS, COMPILE_MACHINE, COMPILE_COMPILER,
|
|
- __DATE__, __TIME__);
|
|
+ Built on: openSUSE BuildService\n";
|
|
+ fprintf(stdout, ncHelpText);
|
|
}
|