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

Minor spec file clean up.  No end user impact.

OBS-URL: https://build.opensuse.org/request/show/102303
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuse?expand=0&rev=5
This commit is contained in:
Greg Freemyer 2012-01-31 22:56:39 +00:00 committed by Git OBS Bridge
parent 8907222061
commit bb23e2683f

View File

@ -1,5 +1,5 @@
#
# spec file for package python-fuse-python
# spec file for package python-fuse
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -27,6 +27,7 @@ BuildRequires: fuse-devel
BuildRequires: pkg-config
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
@ -41,9 +42,7 @@ Python bindings for FUSE (User space File System)
CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --root=%{buildroot}
mv %{buildroot}%{_prefix}/local/* %{buildroot}/usr
rm -rf %{buildroot}%{_prefix}/local
python setup.py install --root=%{buildroot} --prefix=%{_prefix}
%files
%defattr(-,root,root)