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