public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ben Rosser <rosser.bjr@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/hddfancontrol] epel10.2: Update to latest upstream release, with systemd service file.
Date: Sat, 06 Jun 2026 23:10:48 GMT [thread overview]
Message-ID: <178078744810.1.1888888310860716800.rpms-hddfancontrol-eda2f7017541@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/hddfancontrol
Branch : epel10.2
Commit : eda2f701754140e1d917eb21d261f6a96344a561
Author : Ben Rosser <rosser.bjr@gmail.com>
Date : 2017-02-03T00:02:29-05:00
Stats : +18/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hddfancontrol/c/eda2f701754140e1d917eb21d261f6a96344a561?branch=epel10.2
Log:
Update to latest upstream release, with systemd service file.
---
diff --git a/hddfancontrol.spec b/hddfancontrol.spec
index 3a59b3a..c1ae8e4 100644
--- a/hddfancontrol.spec
+++ b/hddfancontrol.spec
@@ -1,15 +1,15 @@
-# Created by pyp2rpm-3.1.3
%global pypi_name hddfancontrol
Name: %{pypi_name}
-Version: 1.2.5
+Version: 1.2.6
Release: 1%{?dist}
Summary: Control system fan speed by monitoring hard drive temperature
License: LGPLv3
URL: https://github.com/desbma/hddfancontrol
-Source0: https://files.pythonhosted.org/packages/source/h/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
+# The PyPI archives don't have unit tests in them anymore.
+Source0: https://github.com/desbma/hddfancontrol/archive/%{version}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
@@ -17,6 +17,7 @@ BuildRequires: python3-setuptools
BuildRequires: python3-devel
BuildRequires: python3-pypandoc, python3-daemon, python3-docutils
BuildRequires: hddtemp, hdparm
+BuildRequires: systemd
Requires: python3-daemon
Requires: python3-docutils
@@ -47,6 +48,14 @@ ln -sf %{_bindir}/hddfancontrol-3 %{buildroot}/%{_bindir}/hddfancontrol-%{python
# Remove the "tests" directory that gets installed systemwide.
rm -rf %{buildroot}%{python3_sitelib}/tests
+# Install the systemd script and config file.
+mkdir -p %{buildroot}%{_unitdir}/
+mkdir -p %{buildroot}%{_sysconfdir}/
+
+sed 's,conf.d/hddfancontrol,hddfancontrol.conf,' -i systemd/hddfancontrol.service
+cp -a systemd/hddfancontrol.service %{buildroot}%{_unitdir}/
+cp -a systemd/hddfancontrol.conf %{buildroot}%{_sysconfdir}/
+
# Run the tests.
%check
%{__python3} setup.py test
@@ -57,10 +66,16 @@ rm -rf %{buildroot}%{python3_sitelib}/tests
%{_bindir}/hddfancontrol
%{_bindir}/hddfancontrol-3
%{_bindir}/hddfancontrol-%{python3_version}
+%{_unitdir}/hddfancontrol.service
+%config(noreplace) %{_sysconfdir}/hddfancontrol.conf
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
%changelog
+* Thu Feb 02 2017 Ben Rosser <rosser.bjr@gmail.com> - 1.2.6-1
+- Updated to latest upstream release.
+- Added systemd service file and configuration file.
+
* Fri Jan 13 2017 Ben Rosser <rosser.bjr@gmail.com> - 1.2.5-1
- Updated to latest upstream release.
reply other threads:[~2026-06-06 23:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178078744810.1.1888888310860716800.rpms-hddfancontrol-eda2f7017541@fedoraproject.org \
--to=rosser.bjr@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox