]> git.pld-linux.org Git - packages/nnn.git/blobdiff - nnn.spec
up to 4.1.1
[packages/nnn.git] / nnn.spec
index 291d7c77af438dbbf7f1249564b63778179e817f..b20881dd679f96a94363775db5388653ee535736 100644 (file)
--- a/nnn.spec
+++ b/nnn.spec
@@ -3,14 +3,13 @@
 #
 Summary:       The missing terminal file browser for X
 Name:          nnn
-Version:       3.7
+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: 4f0ad2173d8a5b22ee2fc366560b3e22
+# 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.093031 seconds and 4 git commands to generate.