The package rpms/mbpfan.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/mbpfan.git/commit/?id=710f5ccb6de....
Change:
+ExclusiveArch: x86_64
Thanks.
Full change:
============
commit 710f5ccb6de7478ad1c637b50b40736de5b23c1d
Author: Lyes Saadi <mail(a)lyes.eu>
Date: Sat Dec 21 21:47:14 2019 +0100
Initial import (#1767998).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4eba59f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/mbpfan-2.2.1.tar.gz
diff --git a/mbpfan.spec b/mbpfan.spec
new file mode 100644
index 0000000..cc51992
--- /dev/null
+++ b/mbpfan.spec
@@ -0,0 +1,94 @@
+Name: mbpfan
+Version: 2.2.1
+Release: 2%{?dist}
+Summary: A simple daemon to control fan speed on all MacBook/MacBook Pros
+License: GPLv3
+URL:
https://github.com/linux-on-mac/mbpfan
+Source0:
https://github.com/linux-on-mac/mbpfan/archive/v%{version}/%{name}-%{vers...
+
+BuildRequires: gcc
+BuildRequires: make
+BuildRequires: systemd
+BuildRequires: systemd-rpm-macros
+
+ExclusiveArch: x86_64
+
+%description
+This is an enhanced version of Allan McRae mbpfan
+
+mbpfan is a daemon that uses input from coretemp module and sets the
+fan speed using the applesmc module. This enhanced version assumes any
+number of processors and fans (max. 10).
+
+* It only uses the temperatures from the processors as input.
+* It requires coretemp and applesmc kernel modules to be loaded.
+* It requires root use
+* It daemonizes or stays in foreground
+* Verbose mode for both syslog and stdout
+* Users can configure it using the file /etc/mbpfan.conf
+
+%prep
+%setup -q
+
+%build
+%set_build_flags
+%make_build
+
+%install
+# Installing the binary
+install -Dpm 0755 -t %{buildroot}%{_sbindir}/ bin/%{name}
+
+# Installing the systemd service
+install -Dpm 0644 -t %{buildroot}%{_unitdir}/ %{name}.service
+
+# Installing the configuration file
+install -Dpm 0644 -t %{buildroot}/etc/ %{name}.conf
+
+# Installing the manual
+install -Dpm 0644 -t %{buildroot}%{_mandir}/man8/ %{name}.8.gz
+
+%post
+%systemd_post %{name}.service
+
+%preun
+%systemd_preun %{name}.service
+
+%postun
+%systemd_postun_with_restart %{name}.service
+
+%files
+%{_sbindir}/%{name}
+%{_unitdir}/%{name}.service
+%{_mandir}/man8/mbpfan.8.*
+%config(noreplace) /etc/%{name}.conf
+%doc README.md AUTHORS
+%license COPYING
+
+%changelog
+* Tue Dec 10 2019 Lyes Saadi <fedora(a)lyes.eu> - 2.2.1-2
+- Improving the spec file, thanks to Robert-Andr Mauchin:
+ - Adding Systemd scriptlets to automatically enable the mbpfan service.
+ - Adding Fedora's build flags.
+ - Ensuring that installed files are not executables.
+
+
+* Sun Nov 24 2019 Lyes Saadi <fedora(a)lyes.eu> - 2.2.1-1
+- Updating to 2.2.1.
+- For additional information, see
https://github.com/linux-on-mac/mbpfan/releases/tag/v2.2.1
+
+* Sat Nov 09 2019 Lyes Saadi <fedora(a)lyes.eu> - 2.2.0-3
+- Improving the spec file, thanks to Dominik 'Rathann' Mierzejewski.
+
+* Fri Nov 01 2019 Lyes Saadi <fedora(a)lyes.eu> - 2.2.0-2
+- Making the spec file compliant to Fedora Packaging Guidelines.
+- Adding manpages.
+
+* Fri Nov 01 2019 Lyes Saadi <fedora(a)lyes.eu> - 2.2.0-1
+- Updating to 2.2.0.
+- For additional information, see
https://github.com/linux-on-mac/mbpfan/releases/tag/v2.2.0
+
+* Fri Oct 04 2019 Lyes Saadi <fedora(a)lyes.eu> - 2.1.1-2
+- Adding path for systemd.
+
+* Thu Oct 03 2019 Lyes Saadi <fedora(a)lyes.eu> - 2.1.1-1
+- Creating the spec file.
diff --git a/sources b/sources
new file mode 100644
index 0000000..50f8d68
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (mbpfan-2.2.1.tar.gz) =
ce358047910bd6996e1d47fe08e1825863e043fc9a33b3c4922ea537e58dd7508fc45c651816125e7b32472cbb3d06afa4a487daba5b910a8580623def938a71