sanlock/revert-5d535c0d-py2.patch
James Fehlig f7c6cf369e Accepting request 687475 from home:jfehlig:branches:Virtualization
- Update to sanlock 3.7.0
  - allow setting max_sectors_kb
  - configurable sector size and align size
  - support SANLOCK_RUN_DIR and SANLOCK_PRIVILEGED environment
    variables
  - Dropped patches:
    sanlock-old_blkid.patch, suse-fix-link-errors.patch

OBS-URL: https://build.opensuse.org/request/show/687475
OBS-URL: https://build.opensuse.org/package/show/Virtualization/sanlock?expand=0&rev=48
2019-03-21 23:40:06 +00:00

31 lines
808 B
Diff

commit d4fc2914b1847202d9dc26df89954766b27921d6
Author: Jim Fehlig <jfehlig@suse.com>
Date: Thu Mar 21 11:20:29 2019 -0600
Revert "python: Fix build on Fedora 29"
This reverts commit 5d535c0d800a84665879f6dc50c87915cf6657da. We
don't want it on SUSE where there is no python2.
Index: sanlock-3.7.0/python/Makefile
===================================================================
--- sanlock-3.7.0.orig/python/Makefile
+++ sanlock-3.7.0/python/Makefile
@@ -5,13 +5,13 @@
# of the GNU General Public License v.2.
all:
- python2 setup.py build
+ python setup.py build
inplace:
- python2 setup.py build_ext --inplace
+ python setup.py build_ext --inplace
install:
- python2 setup.py install --root=$(DESTDIR)
+ python setup.py install --root=$(DESTDIR)
clean:
rm -rf build