fix specfile issues reported by the fedora-review script
This commit is contained in:
parent
d5244245de
commit
098958d859
14
nano.spec
14
nano.spec
@ -1,7 +1,7 @@
|
||||
Summary: A small text editor
|
||||
Name: nano
|
||||
Version: 2.3.1
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
License: GPLv3+
|
||||
Group: Applications/Editors
|
||||
URL: http://www.nano-editor.org
|
||||
@ -48,7 +48,6 @@ touch -c aclocal.m4 config.h.in configure Makefile.in
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR="%{buildroot}" install
|
||||
#ln -s nano %{buildroot}%{_bindir}/pico
|
||||
rm -f %{buildroot}%{_infodir}/dir
|
||||
@ -58,8 +57,8 @@ cp %{SOURCE2} ./nanorc
|
||||
sed -e 's/# set nowrap/set nowrap/' \
|
||||
-e 's/^#.*set speller.*$/set speller "hunspell"/' \
|
||||
doc/nanorc.sample >> ./nanorc
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
install -m 644 ./nanorc $RPM_BUILD_ROOT%{_sysconfdir}/nanorc
|
||||
mkdir -p %{buildroot}%{_sysconfdir}
|
||||
install -m 644 ./nanorc %{buildroot}%{_sysconfdir}/nanorc
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
@ -77,11 +76,7 @@ if [ $1 -eq 0 ]; then
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO
|
||||
%doc doc/nanorc.sample
|
||||
%doc doc/faq.html
|
||||
@ -93,6 +88,9 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/nano
|
||||
|
||||
%changelog
|
||||
* Tue Aug 28 2012 Kamil Dudka <kdudka@redhat.com> - 2.3.1-5
|
||||
- fix specfile issues reported by the fedora-review script
|
||||
|
||||
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user