SHA256
1
0
forked from pool/nedit

Accepting request 494619 from home:scarabeus_iv:branches:editors

- 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
This commit is contained in:
Martin Pluskal
2017-05-11 12:38:04 +00:00
committed by Git OBS Bridge
parent a470dd1d96
commit 359d92358c
6 changed files with 73 additions and 75 deletions

View File

@@ -1,7 +1,7 @@
diff --git a/source/help.c b/source/help.c
index 7da0d4b..09dbf6c 100644
--- a/source/help.c
+++ b/source/help.c
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 =
@@ -21,10 +21,10 @@ index 7da0d4b..09dbf6c 100644
stabilities[stab], XmVERSION, XmREVISION, XmUPDATE_LEVEL,
XmVERSION_STRING,
xmUseVersion/1000, xmUseVersion%1000,
diff --git a/source/linkdate.c b/source/linkdate.c
index 6ead1db..7711943 100644
--- a/source/linkdate.c
+++ b/source/linkdate.c
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"
@@ -32,20 +32,20 @@ index 6ead1db..7711943 100644
-
-const char linkdate[] = __DATE__;
-const char linktime[] = __TIME__;
diff --git a/source/nc.c b/source/nc.c
index db2ed5a..59476aa 100644
--- a/source/nc.c
+++ b/source/nc.c
@@ -1002,10 +1002,7 @@ static void copyCommandLineArg(CommandLine *commandLine, const char *arg)
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.6 (November 2009)\n\n\
"nc (NEdit) Version 5.7 (January 2017)\n\n\
- Built on: %s, %s, %s\n\
- Built at: %s, %s\n";
+ Built on: openSUSE BuildService\n";
-
- fprintf(stdout, ncHelpText,
- COMPILE_OS, COMPILE_MACHINE, COMPILE_COMPILER,
- __DATE__, __TIME__);
+ Built on: openSUSE BuildService\n";
+ fprintf(stdout, ncHelpText);
}