Accepting request 282265 from home:gregfreemyer:Tools-for-forensic-boot-cd

Add examples and run_tests.py to the %doc folder

OBS-URL: https://build.opensuse.org/request/show/282265
OBS-URL: https://build.opensuse.org/package/show/security:forensics/python-dfVFS?expand=0&rev=5
This commit is contained in:
Greg Freemyer
2015-01-21 20:31:39 +00:00
committed by Git OBS Bridge
parent 54a7f59cf0
commit 3f14af4e71
2 changed files with 11 additions and 1 deletions

View File

@@ -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 Fri Jan 9 21:54:16 UTC 2015 - Greg.Freemyer@gmail.com

View File

@@ -61,6 +61,9 @@ python setup.py build
%install %install
python setup.py install --root=%{buildroot} --prefix=%{_prefix} 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 # force complie to resolve an rpmlint complaint
pushd %{buildroot}%{python_sitelib}/dfvfs/ pushd %{buildroot}%{python_sitelib}/dfvfs/
%py_compile . %py_compile .
@@ -71,8 +74,9 @@ popd
%defattr(-,root,root) %defattr(-,root,root)
%doc ACKNOWLEDGEMENTS AUTHORS LICENSE %doc ACKNOWLEDGEMENTS AUTHORS LICENSE
%doc utils/check_dependencies.py %doc utils/check_dependencies.py
%doc run_tests.py
%doc examples
%{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info %{python_sitelib}/dfvfs-%{timestamp}-py2.7.egg-info
%{python_sitelib}/dfvfs %{python_sitelib}/dfvfs
%exclude %{python_sitelib}/examples
%changelog %changelog