up to 4.1.1 auto/th/nnn-4.1.1-1
authorJan Palus <atler@pld-linux.org>
Thu, 3 Jun 2021 22:04:09 +0000 (22:04 +0000)
committerJan Palus <atler@pld-linux.org>
Thu, 3 Jun 2021 22:04:09 +0000 (22:04 +0000)
- dropped redudant flags patch

nnn-flags.patch [deleted file]
nnn.spec

diff --git a/nnn-flags.patch b/nnn-flags.patch
deleted file mode 100644 (file)
index 1d75cc3..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
---- nnn-3.3/Makefile.orig      2020-08-06 12:43:07.917453708 +0200
-+++ nnn-3.3/Makefile   2020-08-06 12:46:43.682792814 +0200
-@@ -41,7 +41,7 @@
- endif
- ifeq ($(strip $(O_PCRE)),1)
--      CPPFLAGS += -DPCRE
-+      override CPPFLAGS += -DPCRE
-       LDLIBS += -lpcre
- endif
-@@ -62,7 +62,7 @@
- endif
- ifeq ($(strip $(O_CTX8)),1)
--      CPPFLAGS += -DCTX8
-+      override CPPFLAGS += -DCTX8
- endif
- ifeq ($(strip $(O_ICONS)),1)
-@@ -75,9 +75,9 @@
-       LDLIBS_CURSES ?= -lncurses
- endif
--CFLAGS += -std=c11 -Wall -Wextra -Wshadow
--CFLAGS += $(CFLAGS_OPTIMIZATION)
--CFLAGS += $(CFLAGS_CURSES)
-+override CFLAGS += -std=c11 -Wall -Wextra -Wshadow
-+override CFLAGS += $(CFLAGS_OPTIMIZATION)
-+override CFLAGS += $(CFLAGS_CURSES)
- LDLIBS += $(LDLIBS_CURSES)
index 73b120a93ffa3193e9a5c11d3671bf022c188391..b20881dd679f96a94363775db5388653ee535736 100644 (file)
--- a/nnn.spec
+++ b/nnn.spec
@@ -3,14 +3,13 @@
 #
 Summary:       The missing terminal file browser for X
 Name:          nnn
-Version:       4.0
+Version:       4.1.1
 Release:       1
 License:       BSD
 Group:         Applications/Console
 Source0:       https://github.com/jarun/nnn/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: c21421963ab6b6255a560e2a2c410468
+# Source0-md5: 260da5978d485c54c96ab8d73d7ad353
 Patch0:                %{name}-no-rebuild-on-install.patch
-Patch1:                %{name}-flags.patch
 URL:           https://github.com/jarun/nnn
 BuildRequires: ncurses-devel
 BuildRequires: pcre-devel
@@ -90,15 +89,14 @@ Dope┼énianie parametr├│w w zsh dla polecenia nnn.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
+export CFLAGS="%{rpmcflags}"
+export CPPFLAGS="%{rpmcppflags}"
+export LDFLAGS="%{rpmldflags}"
 %{__make} \
        CC="%{__cc}" \
-       CFLAGS="%{rpmcflags}" \
        CFLAGS_OPTIMIZATION= \
-       CPPFLAGS="%{rpmcppflags}" \
-       LDFLAGS="%{rpmldflags}" \
        O_CTX8=1 \
        O_PCRE=1
 
This page took 0.315932 seconds and 4 git commands to generate.