diff --git a/nano.spec b/nano.spec index 897025a..e8e722e 100644 --- a/nano.spec +++ b/nano.spec @@ -21,6 +21,7 @@ BuildRequires: gettext-devel BuildRequires: groff BuildRequires: ncurses-devel BuildRequires: sed +Conflicts: filesystem < 3 Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -43,17 +44,14 @@ done touch -c aclocal.m4 config.h.in configure Makefile.in %build -%configure --bindir=/bin +%configure make %{?_smp_mflags} %install rm -rf %{buildroot} -make DESTDIR="%{buildroot}" install bindir=/bin +make DESTDIR="%{buildroot}" install #ln -s nano %{buildroot}%{_bindir}/pico rm -f %{buildroot}%{_infodir}/dir -mkdir -p ${RPM_BUILD_ROOT}%{_bindir} -ln -s ../../bin/nano ${RPM_BUILD_ROOT}%{_bindir}/nano -ln -s ../../bin/rnano ${RPM_BUILD_ROOT}%{_bindir}/rnano cp %{SOURCE2} ./nanorc # disable line wrapping by default and set hunspell as the default spell-checker @@ -87,7 +85,6 @@ rm -rf %{buildroot} %doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO %doc doc/nanorc.sample %doc doc/faq.html -/bin/* %{_bindir}/* %config(noreplace) %{_sysconfdir}/nanorc %{_mandir}/man*/*