| |
@@ -1,4 +1,4 @@
|
| |
- Summary: A GNU general-purpose parser generator
|
| |
+ Summary: GNU general-purpose parser generator
|
| |
Name: bison
|
| |
Version: 3.8.2
|
| |
Release: 8%{?dist}
|
| |
@@ -20,7 +20,7 @@
|
| |
BuildRequires: flex
|
| |
BuildRequires: gnupg2
|
| |
|
| |
- URL: http://www.gnu.org/software/%{name}/
|
| |
+ URL: https://www.gnu.org/software/%{name}/
|
| |
BuildRequires: m4 >= 1.4
|
| |
BuildRequires: make
|
| |
#java-1.7.0-openjdk-devel
|
| |
@@ -94,10 +94,10 @@
|
| |
%make_install
|
| |
|
| |
# Remove unpackaged files.
|
| |
- rm -f %{buildroot}/%{_bindir}/yacc
|
| |
- rm -f %{buildroot}/%{_infodir}/dir
|
| |
- rm -f %{buildroot}/%{_mandir}/man1/yacc*
|
| |
- rm -rf %{buildroot}/%{_docdir}/%{name}/examples/*
|
| |
+ rm -f %{buildroot}%{_bindir}/yacc
|
| |
+ rm -f %{buildroot}%{_infodir}/dir
|
| |
+ rm -f %{buildroot}%{_mandir}/man1/yacc*
|
| |
+ rm -rf %{buildroot}%{_docdir}/%{name}/examples/*
|
| |
|
| |
%find_lang %{name}
|
| |
%find_lang %{name}-runtime
|
| |
@@ -108,7 +108,8 @@
|
| |
# The distribution contains also source files. These are used by m4
|
| |
# when the target parser file is generated.
|
| |
%files -f %{name}.lang -f %{name}-gnulib.lang
|
| |
- %doc AUTHORS ChangeLog NEWS README THANKS TODO COPYING
|
| |
+ %license COPYING
|
| |
+ %doc AUTHORS ChangeLog NEWS README THANKS
|
| |
%{_mandir}/*/bison*
|
| |
%{_datadir}/bison
|
| |
%{_infodir}/bison.info*
|
| |
@@ -116,11 +117,10 @@
|
| |
%{_datadir}/aclocal/bison*.m4
|
| |
|
| |
%files -f %{name}-runtime.lang runtime
|
| |
- %doc COPYING
|
| |
+ %license COPYING
|
| |
|
| |
%files devel
|
| |
- %doc COPYING
|
| |
- %defattr(-,root,root)
|
| |
+ %license COPYING
|
| |
%{_libdir}/liby.a
|
| |
|
| |
%changelog
|
| |