Drop executables in F23

f38
Garrett Holmstrom 10 years ago
parent a334c0711b
commit 487e638d03

@ -4,6 +4,12 @@
%bcond_with python3 %bcond_with python3
%endif %endif
%if 0%{?fedora} >= 23
%bcond_with executables
%else
%bcond_without executables
%endif
%bcond_with unittests %bcond_with unittests
%{!?__python2: %global __python2 /usr/bin/python2} %{!?__python2: %global __python2 /usr/bin/python2}
@ -119,6 +125,10 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/*
%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT %{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT
%if %{without executables}
rm -f $RPM_BUILD_ROOT/%{_bindir}/*
%endif
%check %check
%if %{with unittests} %if %{with unittests}
@ -136,6 +146,8 @@ popd
%{!?_licensedir: %global license %%doc} %{!?_licensedir: %global license %%doc}
%license boto-mit-license.txt %license boto-mit-license.txt
%doc README.rst %doc README.rst
%{python2_sitelib}/boto*
%if %{with executables}
%{_bindir}/asadmin %{_bindir}/asadmin
%{_bindir}/bundle_image %{_bindir}/bundle_image
%{_bindir}/cfadmin %{_bindir}/cfadmin
@ -157,7 +169,7 @@ popd
%{_bindir}/s3put %{_bindir}/s3put
%{_bindir}/sdbadmin %{_bindir}/sdbadmin
%{_bindir}/taskadmin %{_bindir}/taskadmin
%{python2_sitelib}/boto* %endif
%if %{with python3} %if %{with python3}
@ -170,6 +182,7 @@ popd
%changelog %changelog
* Wed Apr 8 2015 Garrett Holmstrom <gholms@fedoraproject.org> - 3.37.0-1 * Wed Apr 8 2015 Garrett Holmstrom <gholms@fedoraproject.org> - 3.37.0-1
- Updated to 2.37.0 (RH #1180861) - Updated to 2.37.0 (RH #1180861)
- Dropped executables in F23
* Sun Nov 9 2014 Garrett Holmstrom <gholms@fedoraproject.org> - 2.34.0-4 * Sun Nov 9 2014 Garrett Holmstrom <gholms@fedoraproject.org> - 2.34.0-4
- Fixed python3 requires - Fixed python3 requires

Loading…
Cancel
Save