]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: remove SUSE-specific curses hack
authorNathan Cutler <ncutler@suse.com>
Fri, 2 Oct 2015 09:01:44 +0000 (11:01 +0200)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Oct 2015 10:24:19 +0000 (11:24 +0100)
Unclear what this was supposed to fix.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit d58d885dacb59010d204368f200cecd8a0461a6a)

ceph.spec.in

index 169f44cc6cbd32a887da7114f2adfe32ae16da03..45819f9055663c144054bc74385b905dabbba75d 100644 (file)
@@ -539,14 +539,6 @@ export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`
 %endif
                CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS"
 
-# fix bug in specific version of libedit-devel
-%if 0%{?suse_version}
-sed -i -e "s/-lcurses/-lncurses/g" Makefile
-sed -i -e "s/-lcurses/-lncurses/g" src/Makefile
-sed -i -e "s/-lcurses/-lncurses/g" man/Makefile
-sed -i -e "s/-lcurses/-lncurses/g" src/ocf/Makefile
-sed -i -e "s/-lcurses/-lncurses/g" src/java/Makefile
-%endif
 
 # Set default jobs
 MAKE_JOBS=$(getconf _NPROCESSORS_ONLN)