Simplify installation of docs.

- Drop executable bits from sources and docs.
This commit is contained in:
Ville Skyttä 2013-07-27 00:19:47 +03:00
parent a45f5a04dc
commit 894436adca

View File

@ -31,7 +31,7 @@
Summary: Parser Generator with Java Extension Summary: Parser Generator with Java Extension
Name: byaccj Name: byaccj
Version: 1.15 Version: 1.15
Release: 6%{?dist} Release: 7%{?dist}
Epoch: 0 Epoch: 0
License: Public Domain License: Public Domain
URL: http://byaccj.sourceforge.net/ URL: http://byaccj.sourceforge.net/
@ -53,7 +53,7 @@ Java now!
%prep %prep
%setup -q -n %{name}%{version} %setup -q -n %{name}%{version}
chmod -c -x src/* docs/*
sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4||g' src/Makefile sed -i -e 's|-arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4||g' src/Makefile
%build %build
@ -73,16 +73,16 @@ mkdir -p %{buildroot}%{_bindir}
cp -p src/yacc.linux \ cp -p src/yacc.linux \
%{buildroot}%{_bindir}/%{name} %{buildroot}%{_bindir}/%{name}
mkdir -p %{buildroot}%{_docdir}/%{name}-%{version}
cp -p docs/* %{buildroot}%{_docdir}/%{name}-%{version}
cp -p src/README %{buildroot}%{_docdir}/%{name}-%{version}
%files %files
%doc %{_docdir}/%{name}-%{version} %doc docs/* src/README
%{_mandir}/man1/yacc.cat* %{_mandir}/man1/yacc.cat*
%attr(755, root, root) %{_bindir}/%{name} %attr(755, root, root) %{_bindir}/%{name}
%changelog %changelog
* Fri Jul 26 2013 Ville Skyttä <ville.skytta@iki.fi> - 0:1.15-7
- Simplify installation of docs.
- Drop executable bits from sources and docs.
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-6 * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.15-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
@ -107,7 +107,7 @@ cp -p src/README %{buildroot}%{_docdir}/%{name}-%{version}
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.14-5 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.14-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Sun May 10 2009 Ville Skyttä <ville.skytta at iki.fi> - 0:1.14-4 * Sun May 10 2009 Ville Skyttä <ville.skytta@iki.fi> - 0:1.14-4
- Build with %%{optflags} (#500022). - Build with %%{optflags} (#500022).
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.14-3 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0:1.14-3