summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python-pycparser.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/python-pycparser.spec b/python-pycparser.spec
index 63a257d..bf04d67 100644
--- a/python-pycparser.spec
+++ b/python-pycparser.spec
@@ -12,6 +12,7 @@ BuildArch: noarch
# for unit tests
BuildRequires: python-ply
+BuildRequires: dos2unix
Requires: python-ply
@@ -27,6 +28,7 @@ need to parse C source code.
# examples
cp %SOURCE1 .
./remove-relative-sys-path examples
+dos2unix LICENSE
%build
%{__python} setup.py build
@@ -38,11 +40,10 @@ cp %SOURCE1 .
%{__python} tests/all_tests.py
%files
-%doc examples
+%doc examples LICENSE
%{python_sitelib}/pycparser/
%{python_sitelib}/pycparser-*.egg-info
-
%changelog
* Tue Jun 18 2012 <scottt.tw@gmail.com> Scott Tsai 2.08-1
- upstream 2.08