[packages/kicad] macros for %cmake_on_off
atler
atler at pld-linux.org
Thu Dec 12 15:14:48 CET 2024
commit 8e15dae6aa78d0f0ae50404a53295fbe955bc476
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Dec 12 14:31:37 2024 +0100
macros for %cmake_on_off
kicad.spec | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/kicad.spec b/kicad.spec
index 7b9a977..56fb15d 100644
--- a/kicad.spec
+++ b/kicad.spec
@@ -66,7 +66,7 @@ BuildRequires: python3-pytest
BuildRequires: python3-devel >= 1:3.6
BuildRequires: python3-pybind11
BuildRequires: python3-wxPython-devel
-BuildRequires: rpmbuild(macros) >= 1.600
+BuildRequires: rpmbuild(macros) >= 1.742
BuildRequires: ruby-asciidoctor
BuildRequires: sed >= 4.0
BuildRequires: swig >= 4.0
@@ -235,11 +235,11 @@ Documentation and tutorials for Kicad in Chinese.
%build
build_library() {
- mkdir -p "$1/build"
- cd "$1/build"
- %cmake ..
- %{__make} VERBOSE=1
- cd ../..
+ mkdir -p "$1/build"
+ cd "$1/build"
+ %cmake ..
+ %{__make} VERBOSE=1
+ cd ../..
}
# Symbols libraries
build_library %{name}-symbols-%{version}
@@ -288,8 +288,8 @@ PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
rm -rf $RPM_BUILD_ROOT
install_library() {
- %{__make} -C $1/build install \
- DESTDIR=$RPM_BUILD_ROOT
+ %{__make} -C $1/build install \
+ DESTDIR=$RPM_BUILD_ROOT
}
# KiCAD itself
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kicad.git/commitdiff/8e15dae6aa78d0f0ae50404a53295fbe955bc476
More information about the pld-cvs-commit
mailing list