Accepting request 1149480 from home:dimstar:rpm4.20:n
Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149480 OBS-URL: https://build.opensuse.org/package/show/editors/nedit?expand=0&rev=23
This commit is contained in:
parent
9ecb7e45ea
commit
cd728277d0
@ -49,29 +49,3 @@ Index: nedit-5.7/source/nc.c
|
||||
+ Built on: openSUSE BuildService\n";
|
||||
+ fprintf(stdout, ncHelpText);
|
||||
}
|
||||
Index: nedit-5.7/doc/setext
|
||||
===================================================================
|
||||
--- nedit-5.7.orig/doc/setext
|
||||
+++ nedit-5.7/doc/setext
|
||||
@@ -711,7 +711,7 @@ sub date
|
||||
{
|
||||
$format = $_[0];
|
||||
|
||||
- ( $sec,$min,$hour,$mday,$mon,$year,@ignore ) = localtime( time );
|
||||
+ ( $sec,$min,$hour,$mday,$mon,$year,@ignore ) = localtime( $ENV{SOURCE_DATE_EPOCH} || time );
|
||||
$month = (January,February,March,April,May,June,July,
|
||||
August,September,October,November,December)[$mon];
|
||||
$year = $year + 1900;
|
||||
Index: nedit-5.7/doc/Makefile
|
||||
===================================================================
|
||||
--- nedit-5.7.orig/doc/Makefile
|
||||
+++ nedit-5.7/doc/Makefile
|
||||
@@ -39,7 +39,7 @@ instructions:
|
||||
|
||||
.version:
|
||||
@ if [ "$(VERSION)" = "" ]; then \
|
||||
- echo "NEdit release of `date +'%b %e, %Y'`" > .version; \
|
||||
+ echo "NEdit release of `date --date="@$${SOURCE_DATE_EPOCH:-$$(date +%s)}" +'%b %e, %Y'`" > .version; \
|
||||
else \
|
||||
echo "$(VERSION)" > .version; \
|
||||
fi
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 22 13:58:04 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Use %patch -P N instead of deprecated %patchN.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 05:31:30 UTC 2017 - bwiedemann@suse.com
|
||||
|
||||
|
12
nedit.spec
12
nedit.spec
@ -52,12 +52,12 @@ and a lot other nice features (and extensions for programmers).
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
%patch -P 1 -p1
|
||||
%patch -P 2 -p1
|
||||
%patch -P 3 -p1
|
||||
%patch -P 4 -p1
|
||||
%patch -P 5
|
||||
%patch -P 6 -p1
|
||||
|
||||
%build
|
||||
make -j1 RPM_OPT_FLAGS="%{optflags}" linux
|
||||
|
Loading…
Reference in New Issue
Block a user