Build
This commit is contained in:
parent
755e642658
commit
12ba21e644
|
@ -23,12 +23,16 @@ User space client to ease DRBD9 resource management.
|
||||||
%{python} setup.py build
|
%{python} setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{_python} setup.py install --single-version-externally-managed -O1 --root=%{buildroot} --prefix=%{_prefix} --record=INSTALLED_FILES
|
%{_python} setup.py install --root=%{buildroot} --prefix=%{_prefix}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%doc README.md
|
||||||
|
%_bindir/*
|
||||||
|
%python_sitelib/*
|
||||||
|
%_sysconfdir/bash_completion.d/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
Loading…
Reference in New Issue