summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2008-01-25 10:03:38 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitebbfa3b3ed7ab5f0d180085e1b8696dd1374e867 (patch)
tree6c8cf10545d12d77bd5185faebab26af062a56b5
parent9dadf08f9b73268b4315dd1669ff2a96eba3457c (diff)
downloadlibxslt-plugin-regexp-ebbfa3b3ed7ab5f0d180085e1b8696dd1374e867.zip
libxslt-plugin-regexp-ebbfa3b3ed7ab5f0d180085e1b8696dd1374e867.tar.gz
- add samples to %doc
Changed files: libxslt-plugin-regexp.spec -> 1.4
-rw-r--r--libxslt-plugin-regexp.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/libxslt-plugin-regexp.spec b/libxslt-plugin-regexp.spec
index a6d45a4..bdfae33 100644
--- a/libxslt-plugin-regexp.spec
+++ b/libxslt-plugin-regexp.spec
@@ -11,6 +11,7 @@ BuildRequires: autoconf
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)
@@ -26,6 +27,8 @@ These functions are documented at <http://www.exslt.org/regexp/>.
%setup -q
%patch0 -p1
+%{__sed} -i -e 's,\r$,,' *.xml *.xsl
+
%build
%{__aclocal}
%{__autoconf}
@@ -44,4 +47,5 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc *.xsl *.xml
%attr(755,root,root) %{plugindir}/exslt_org_regular_expressions.so