]> git.pld-linux.org Git - packages/dtc.git/commitdiff
up to 1.6.1 auto/th/dtc-1.6.1-1
authorJan Palus <atler@pld-linux.org>
Mon, 21 Jun 2021 11:19:32 +0000 (13:19 +0200)
committerJan Palus <atler@pld-linux.org>
Mon, 21 Jun 2021 11:19:32 +0000 (13:19 +0200)
- link needed header/directory from top build dir to fix hacky python
  module build

dtc.spec

index f3b82a4cb3377c33b7d06b6b923dbcdafedb44f3..0279bef1bf8b69229454f29caceadfbe52767fd4 100644 (file)
--- a/dtc.spec
+++ b/dtc.spec
 Summary:       The Device Tree Compiler
 Summary(pl.UTF-8):     Kompilator drzewiastej struktury urządzeń
 Name:          dtc
-Version:       1.6.0
-Release:       2
+Version:       1.6.1
+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: 1556ba93648bf70d7aa034252e278751
+# Source0-md5: 709888bac3aad657e6020d0e491fc0ba
 Patch0:                %{name}-python.patch
 URL:           https://www.devicetree.org/
 BuildRequires: bison
@@ -134,6 +134,8 @@ Wiązanie Pythona 3 do biblioteki fdt.
 
 %if %{with python}
 cd pylibfdt
+ln -sf ../version_gen.h .
+ln -sf ../libfdt .
 
 %if %{with python2}
 %py_build
@@ -206,7 +208,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/_libfdt.so
 %{py_sitedir}/libfdt.py[co]
-%{py_sitedir}/libfdt-%{abi_ver}-py*.egg-info
+%{py_sitedir}/libfdt-%{abi_ver}*.egg-info
 %endif
 
 %if %{with python3}
@@ -215,5 +217,5 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{py3_sitedir}/_libfdt.cpython-*.so
 %{py3_sitedir}/libfdt.py
 %{py3_sitedir}/__pycache__/libfdt.cpython-*.py[co]
-%{py3_sitedir}/libfdt-%{abi_ver}-py*.egg-info
+%{py3_sitedir}/libfdt-%{abi_ver}*.egg-info
 %endif
This page took 0.036317 seconds and 4 git commands to generate.