- sanitize specfile according to Fedora Packaging Guidelines

This commit is contained in:
Kamil Dudka 2009-11-25 17:57:33 +00:00
parent 2b039262d7
commit ef52da0c5b

View File

@ -1,11 +1,11 @@
Summary: A small text editor
Name: nano
Version: 2.0.9
Release: 6%{?dist}
License: GPLv2+
Release: 7%{?dist}
License: GPLv3+
Group: Applications/Editors
URL: http://www.nano-editor.org
Source: http://www.nano-editor.org/dist/v1.3/%{name}-%{version}.tar.gz
Source: http://www.nano-editor.org/dist/v2.0/%{name}-%{version}.tar.gz
Source2: nanorc
Patch1: nano-2.0.9-warnings.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -30,7 +30,7 @@ done
%build
%configure --enable-all --bindir=/bin
make
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
@ -67,7 +67,7 @@ exit 0
rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
%defattr(-,root,root,-)
%doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO
%doc doc/nanorc.sample
%doc doc/faq.html
@ -80,6 +80,9 @@ rm -rf %{buildroot}
%{_datadir}/nano
%changelog
* Wed Nov 25 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-7
- sanitize specfile according to Fedora Packaging Guidelines
* Thu Oct 15 2009 Kamil Dudka <kdudka@redhat.com> - 2.0.9-6
- use nanorc.sample as base of /etc/nanorc