Compare commits

..

No commits in common. "rawhide" and "epel7" have entirely different histories.

View file

@ -3,8 +3,7 @@ Name: beep
Version: 1.4.12
Release: %autorelease
# Automatically converted from old format: GPLv2+ - review is highly recommended.
License: GPL-2.0-or-later
License: GPLv2+
URL: https://github.com/spkr-beep/beep/
# Upstream github repo: https://github.com/spkr-beep/beep
@ -61,6 +60,7 @@ BuildRequires: make
# Recommends: (kernel-modules-extras if kernel-modules)
# Recommends: (kernel-debug-modules-extras if kernel-debug-modules)
Requires(pre): shadow-utils
# /etc/modprobe.d/
Requires: kmod
@ -83,11 +83,6 @@ interesting, but it is really good at the notifying part.
%setup -q
sed -i 's|^\.\\" \(\.BR .*\)README.Distro\(.*\)|\1README.fedora\2|' beep.1.in && : #"
# Create a sysusers.d config file
cat >beep.sysusers.conf <<EOF
g beep -
EOF
%build
if test "x%{build_cppflags}" = "x%%{build_cppflags}"; then
@ -128,9 +123,10 @@ install -d -m 0755 "%{buildroot}%{_udevrulesdir}/"
install -p -m 0644 "%{SOURCE2}" "%{buildroot}%{_udevrulesdir}/"
install -p -m 0644 "%{SOURCE3}" "%{buildroot}%{_udevrulesdir}/"
install -m0644 -D beep.sysusers.conf %{buildroot}%{_sysusersdir}/beep.conf
%pre
getent group beep >/dev/null || groupadd -r beep
exit 0
%files
@ -149,7 +145,6 @@ install -m0644 -D beep.sysusers.conf %{buildroot}%{_sysusersdir}/beep.conf
%config(noreplace) %{_sysconfdir}/modprobe.d/beep.conf
%{_udevrulesdir}/70-pcspkr-beep.rules
%{_udevrulesdir}/90-pcspkr-beep.rules
%{_sysusersdir}/beep.conf
%changelog