[byaccj] Simplify installation of docs.

Ville Skyttä scop at fedoraproject.org
Fri Jul 26 21:20:17 UTC 2013


commit 894436adca5bb2c3d700beb4a94eebbdf0a3446e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Jul 27 00:19:47 2013 +0300

    Simplify installation of docs.
    
    - Drop executable bits from sources and docs.

 byaccj.spec |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/byaccj.spec b/byaccj.spec
index 456fe4f..fa8c482 100644
--- a/byaccj.spec
+++ b/byaccj.spec
@@ -31,7 +31,7 @@
 Summary:	Parser Generator with Java Extension
 Name:		byaccj
 Version:	1.15
-Release:	6%{?dist}
+Release:	7%{?dist}
 Epoch:		0
 License:	Public Domain
 URL:		http://byaccj.sourceforge.net/
@@ -53,7 +53,7 @@ Java now!
 
 %prep
 %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
 
 %build
@@ -73,16 +73,16 @@ mkdir -p %{buildroot}%{_bindir}
 cp -p src/yacc.linux \
   %{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
-%doc %{_docdir}/%{name}-%{version}
+%doc docs/* src/README
 %{_mandir}/man1/yacc.cat*
 %attr(755, root, root) %{_bindir}/%{name}
 
 %changelog
+* Fri Jul 26 2013 Ville Skyttä <ville.skytta at 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 at lists.fedoraproject.org> - 0:1.15-6
 - 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 at lists.fedoraproject.org> - 0:1.14-5
 - 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 at iki.fi> - 0:1.14-4
 - Build with %%{optflags} (#500022).
 
 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:1.14-3


More information about the scm-commits mailing list