[packages/brltty] - don't try to package nonexisting docs - rel 2

baggins baggins at pld-linux.org
Sat Apr 2 15:45:25 CEST 2016


commit 6773408436f1478ba58a9a93e36ec2989cdf2203
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sat Apr 2 22:45:04 2016 +0900

    - don't try to package nonexisting docs
    - rel 2

 brltty.spec | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
---
diff --git a/brltty.spec b/brltty.spec
index 0bfffbf..c9a4319 100644
--- a/brltty.spec
+++ b/brltty.spec
@@ -27,7 +27,7 @@ Summary:	Braille display driver for Linux/Unix
 Summary(pl.UTF-8):	Sterownik do wyświetlaczy Braille'a
 Name:		brltty
 Version:	5.3.1
-Release:	1
+Release:	2
 License:	GPL v2+ (brltty and drivers), LGPL v2.1+ (APIs)
 Group:		Daemons
 Source0:	http://mielke.cc/brltty/archive/%{name}-%{version}.tar.xz
@@ -285,14 +285,6 @@ cd Bindings/Python
 cd ../..
 %endif
 
-directory="doc"
-mkdir -p "$directory"
-for file in `find . \( -path "./$directory" -o -path ./Documents \) -prune -o \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o -name '*.sgml' -o \( -path "./Bootdisks/*" -type f -perm +ugo=x \) \) -print`
-do
-	mkdir -p "$directory/${file%/*}"
-	cp -rp "$file" "$directory/$file"
-done
-
 %install
 rm -rf $RPM_BUILD_ROOT
 
@@ -617,7 +609,6 @@ exit 0
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc Documents/{Manual-BRLTTY/English/BRLTTY*,ChangeLog,HISTORY,TODO}
-%doc doc/{Bindings,Bootdisks,Drivers,Patches,Tables,README}
 %attr(755,root,root) %{_bindir}/brltty
 %attr(755,root,root) %{_bindir}/brltty-atb
 %attr(755,root,root) %{_bindir}/brltty-config
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/brltty.git/commitdiff/6773408436f1478ba58a9a93e36ec2989cdf2203



More information about the pld-cvs-commit mailing list