diff --git a/byacc.spec b/byacc.spec
index 02145d9..5ab5fa9 100644
--- a/byacc.spec
+++ b/byacc.spec
@@ -1,9 +1,9 @@
%define byaccdate 20050813
-Summary: A public domain Yacc parser generator
+Summary: Berkeley Yacc, a parser generator
Name: byacc
Version: 1.9.%{byaccdate}
-Release: 1%{?dist}
+Release: 2%{?dist}
License: Public Domain
Group: Development/Tools
URL: http://dickey.his.com/byacc/byacc.html
@@ -29,8 +29,6 @@ rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
ln -s yacc $RPM_BUILD_ROOT/%{_bindir}/byacc
ln -s yacc.1 $RPM_BUILD_ROOT/%{_mandir}/man1/byacc.1
-install -d $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
-install -m 644 ACKNOWLEDGEMENTS CHANGES README NEW_FEATURES $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
%check
echo ====================TESTING=========================
@@ -41,14 +39,19 @@ echo ====================TESTING END=====================
rm -rf $RPM_BUILD_ROOT
%files
-%doc ACKNOWLEDGEMENTS CHANGES README NEW_FEATURES
-%defattr(-,root,root)
+%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README
+%defattr(-,root,root,-)
%{_bindir}/yacc
%{_bindir}/byacc
%{_mandir}/man1/yacc.1*
%{_mandir}/man1/byacc.1*
%changelog
+* Fri Sep 12 2007 Matthias Saou 1.9.20050813-2
+- Update summary.
+- Remove useless doc copying in install section.
+- Add NOTES and NO_WARRANTY docs.
+
* Thu Feb 2 2007 Petr Machata - 1.9.20050813-1
- Thomas Dickey's 20050813 version of byacc:
- own build system (linux patch reverted)