diff --git a/python-dfVFS.changes b/python-dfVFS.changes index 923a32a..7a68242 100644 --- a/python-dfVFS.changes +++ b/python-dfVFS.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jan 21 15:22:54 UTC 2015 - Greg.Freemyer@gmail.com + +- add the examples folder to the %doc section of %files +- add run_tests.py to the %doc section of %files + ------------------------------------------------------------------- Fri Jan 9 21:54:16 UTC 2015 - Greg.Freemyer@gmail.com diff --git a/python-dfVFS.spec b/python-dfVFS.spec index 5cffbdf..fb8fbf3 100644 --- a/python-dfVFS.spec +++ b/python-dfVFS.spec @@ -61,6 +61,9 @@ python setup.py build %install python setup.py install --root=%{buildroot} --prefix=%{_prefix} +# examples should not be installed +# see https://github.com/log2timeline/dfvfs/issues/4 +rm -rf %{buildroot}/%{python_sitelib}/examples # force complie to resolve an rpmlint complaint pushd %{buildroot}%{python_sitelib}/dfvfs/ %py_compile . @@ -71,8 +74,9 @@ popd %defattr(-,root,root) %doc ACKNOWLEDGEMENTS AUTHORS LICENSE %doc utils/check_dependencies.py +%doc run_tests.py +%doc examples %{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info %{python_sitelib}/dfvfs -%exclude %{python_sitelib}/examples %changelog