]> git.pld-linux.org Git - packages/nnn.git/blobdiff - nnn.spec
rpm version for noarch subpackage
[packages/nnn.git] / nnn.spec
index 73b120a93ffa3193e9a5c11d3671bf022c188391..6bf7330801559b7cf6da8413dcaa3f4609ff08d0 100644 (file)
--- a/nnn.spec
+++ b/nnn.spec
@@ -3,19 +3,19 @@
 #
 Summary:       The missing terminal file browser for X
 Name:          nnn
-Version:       4.0
+Version:       4.5
 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: 7358f4ca32c04e1a1bef7633ab10aff6
 Patch0:                %{name}-no-rebuild-on-install.patch
-Patch1:                %{name}-flags.patch
 URL:           https://github.com/jarun/nnn
 BuildRequires: ncurses-devel
 BuildRequires: pcre-devel
 BuildRequires: pkgconfig
 BuildRequires: readline-devel
+BuildRequires: rpm-build >= 4.6
 Suggests:      archivemount
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -90,15 +90,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.103023 seconds and 4 git commands to generate.