]> git.pld-linux.org Git - packages/dtc.git/commitdiff
- updated to 1.5.0 auto/th/dtc-1.5.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 10 Mar 2019 20:37:38 +0000 (21:37 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 10 Mar 2019 20:37:38 +0000 (21:37 +0100)
- updated python patch

dtc-python.patch
dtc.spec

index d2ef468a4105ac4aa998122b283b148568091971..a1ff2b2f47f594117f7c43e4c2e0c58ddd130c30 100644 (file)
@@ -1,19 +1,11 @@
---- dtc-1.4.7/pylibfdt/Makefile.pylibfdt.orig  2018-07-23 05:00:50.000000000 +0200
-+++ dtc-1.4.7/pylibfdt/Makefile.pylibfdt       2018-08-24 20:25:46.505442238 +0200
-@@ -8,7 +8,7 @@
- define run_setup
-       SOURCES="$(1)" CPPFLAGS="$(CPPFLAGS)" OBJDIR="$(PYLIBFDT_objdir)"
-       VERSION="$(dtc_version)"
--      $(PYLIBFDT_objdir)/setup.py --quiet $(2)
-+      $(PYLIBFDT_objdir)/setup.py $(2)
- endef
+--- dtc-1.5.0/pylibfdt/Makefile.pylibfdt.orig  2019-03-10 21:31:13.430242485 +0100
++++ dtc-1.5.0/pylibfdt/Makefile.pylibfdt       2019-03-10 21:33:46.816078189 +0100
+@@ -21,7 +21,7 @@
  
- $(PYMODULE): $(PYLIBFDT_srcs)
-@@ -19,6 +19,6 @@
  install_pylibfdt: $(PYMODULE)
-       $(VECHO) INSTALL-PYLIB; \
-       $(call run_setup, $(PYLIBFDT_srcs), \
--              install $(if $(SETUP_PREFIX),--prefix=$(SETUP_PREFIX)))
-+              install --optimize=2 $(if $(SETUP_PREFIX),--prefix=$(SETUP_PREFIX)) $(if $(DESTDIR),--root=$(DESTDIR)))
+       @$(VECHO) INSTALL-PYLIB
+-      $(PYTHON) $(SETUP) $(SETUPFLAGS) install --prefix=$(PREFIX)
++      $(PYTHON) $(SETUP) $(SETUPFLAGS) install --optimize=2 --prefix=$(PREFIX) $(if $(DESTDIR),--root=$(DESTDIR))
  
- PYLIBFDT_cleanfiles = libfdt_wrap.c libfdt.py libfdt.pyc _libfdt.so
+ pylibfdt_clean:
+       @$(VECHO) CLEAN "(pylibfdt)"
index 6e7ef6e55c3dea01aff7d727c1ac55a2a28c4a27..2185ed3a7c66f3c4d3fe0e4fb7c29e25cf4b87fa 100644 (file)
--- a/dtc.spec
+++ b/dtc.spec
@@ -6,12 +6,12 @@
 Summary:       The Device Tree Compiler
 Summary(pl.UTF-8):     Kompilator drzewiastej struktury urządzeń
 Name:          dtc
-Version:       1.4.7
+Version:       1.5.0
 Release:       1
 License:       GPL v2+ (dtc), GPL v2+ or BSD (fdt library)
 Group:         Libraries
 Source0:       https://www.kernel.org/pub/software/utils/dtc/%{name}-%{version}.tar.xz
-# Source0-md5: cdf3bfae59374fdcd2bbc5ae4f0e835e
+# Source0-md5: 1e7f54238d991b81c54fb5aabf71ff23
 Patch0:                %{name}-python.patch
 URL:           http://www.devicetree.org/Device_Tree_Compiler
 BuildRequires: bison
@@ -159,6 +159,6 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python-libfdt
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/_libfdt.so
-%{py_sitedir}/pylibfdt
+%{py_sitedir}/libfdt.py[co]
 %{py_sitedir}/libfdt-%{version}-py*.egg-info
 %endif
This page took 0.088802 seconds and 4 git commands to generate.