[packages/thinkfan] - updated dependencies, release 2 (yaml-cpp 0.8)

qboosh qboosh at pld-linux.org
Fri Aug 25 19:50:41 CEST 2023


commit f13263a1e16f974dad6e264abb382c5f190f1cdf
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Aug 25 19:26:44 2023 +0200

    - updated dependencies, release 2 (yaml-cpp 0.8)

 thinkfan.spec | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/thinkfan.spec b/thinkfan.spec
index 04271ce..8e32946 100644
--- a/thinkfan.spec
+++ b/thinkfan.spec
@@ -2,16 +2,20 @@ Summary:	ThinkPad fan control program
 Summary(pl.UTF-8):	Program do sterowania wiatraczkiem w ThinkPadach
 Name:		thinkfan
 Version:	1.3.1
-Release:	1
+Release:	2
 License:	GPL v3+
 Group:		Applications/System
 #Source0Download: https://github.com/vmatare/thinkfan/releases
+# TODO:
+#Source0:	https://github.com/vmatare/thinkfan/archive/%{version}/%{name}-%{version}.tar.gz
 Source0:	https://github.com/vmatare/thinkfan/archive/refs/tags/%{version}.tar.gz
 # Source0-md5:	8f7cdec0a524ed99fe6836f95d749da1
 Source1:	%{name}.init
 URL:		https://github.com/vmatare/thinkfan
-BuildRequires:	cmake >= 2.6
+BuildRequires:	cmake >= 3.0
 BuildRequires:	libatasmart-devel
+BuildRequires:	libstdc++-devel >= 6:5
+BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.605
 BuildRequires:	sed >= 4.0
 BuildRequires:	systemd-devel
@@ -43,8 +47,7 @@ cd build
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d \
-$RPM_BUILD_ROOT{%{systemdunitdir},%{_sysconfdir}/systemd/system}
-
+	$RPM_BUILD_ROOT{%{systemdunitdir},%{_sysconfdir}/systemd/system}
 
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
@@ -54,7 +57,7 @@ $RPM_BUILD_ROOT{%{systemdunitdir},%{_sysconfdir}/systemd/system}
 
 install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 cp -p examples/thinkfan.yaml $RPM_BUILD_ROOT%{_sysconfdir}/thinkfan.yaml
-mv $RPM_BUILD_ROOT%{_prefix}%{systemdunitdir}/*.service $RPM_BUILD_ROOT%{systemdunitdir}
+%{__mv} $RPM_BUILD_ROOT%{_prefix}%{systemdunitdir}/*.service $RPM_BUILD_ROOT%{systemdunitdir}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thinkfan.git/commitdiff/f13263a1e16f974dad6e264abb382c5f190f1cdf



More information about the pld-cvs-commit mailing list