SPECS: libxslt-plugin-regexp.spec - add samples to %doc

glen glen at pld-linux.org
Fri Jan 25 11:03:43 CET 2008


Author: glen                         Date: Fri Jan 25 10:03:43 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add samples to %doc

---- Files affected:
SPECS:
   libxslt-plugin-regexp.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/libxslt-plugin-regexp.spec
diff -u SPECS/libxslt-plugin-regexp.spec:1.3 SPECS/libxslt-plugin-regexp.spec:1.4
--- SPECS/libxslt-plugin-regexp.spec:1.3	Thu Jan 24 19:19:36 2008
+++ SPECS/libxslt-plugin-regexp.spec	Fri Jan 25 11:03:38 2008
@@ -12,6 +12,7 @@
 BuildRequires:	automake
 BuildRequires:	libxslt-devel >= 1.1.13
 BuildRequires:	pcre-devel
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		plugindir	%(xslt-config --plugins 2>/dev/null)
@@ -27,6 +28,8 @@
 %setup -q
 %patch0 -p1
 
+%{__sed} -i -e 's,\r$,,' *.xml *.xsl
+
 %build
 %{__aclocal}
 %{__autoconf}
@@ -45,6 +48,7 @@
 
 %files
 %defattr(644,root,root,755)
+%doc *.xsl *.xml
 %attr(755,root,root) %{plugindir}/exslt_org_regular_expressions.so
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -53,6 +57,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008-01-25 10:03:38  glen
+- add samples to %doc
+
 Revision 1.3  2008-01-24 18:19:36  glen
 - add $DESTDIR patch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libxslt-plugin-regexp.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list