Compare commits
No commits in common. "rawhide" and "epel7" have entirely different histories.
1 changed files with 5 additions and 10 deletions
15
beep.spec
15
beep.spec
|
|
@ -3,8 +3,7 @@ Name: beep
|
||||||
Version: 1.4.12
|
Version: 1.4.12
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
|
|
||||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
License: GPLv2+
|
||||||
License: GPL-2.0-or-later
|
|
||||||
URL: https://github.com/spkr-beep/beep/
|
URL: https://github.com/spkr-beep/beep/
|
||||||
|
|
||||||
# Upstream github repo: 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-modules-extras if kernel-modules)
|
||||||
# Recommends: (kernel-debug-modules-extras if kernel-debug-modules)
|
# Recommends: (kernel-debug-modules-extras if kernel-debug-modules)
|
||||||
|
|
||||||
|
Requires(pre): shadow-utils
|
||||||
|
|
||||||
# /etc/modprobe.d/
|
# /etc/modprobe.d/
|
||||||
Requires: kmod
|
Requires: kmod
|
||||||
|
|
@ -83,11 +83,6 @@ interesting, but it is really good at the notifying part.
|
||||||
%setup -q
|
%setup -q
|
||||||
sed -i 's|^\.\\" \(\.BR .*\)README.Distro\(.*\)|\1README.fedora\2|' beep.1.in && : #"
|
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
|
%build
|
||||||
if test "x%{build_cppflags}" = "x%%{build_cppflags}"; then
|
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 "%{SOURCE2}" "%{buildroot}%{_udevrulesdir}/"
|
||||||
install -p -m 0644 "%{SOURCE3}" "%{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
|
%files
|
||||||
|
|
@ -149,7 +145,6 @@ install -m0644 -D beep.sysusers.conf %{buildroot}%{_sysusersdir}/beep.conf
|
||||||
%config(noreplace) %{_sysconfdir}/modprobe.d/beep.conf
|
%config(noreplace) %{_sysconfdir}/modprobe.d/beep.conf
|
||||||
%{_udevrulesdir}/70-pcspkr-beep.rules
|
%{_udevrulesdir}/70-pcspkr-beep.rules
|
||||||
%{_udevrulesdir}/90-pcspkr-beep.rules
|
%{_udevrulesdir}/90-pcspkr-beep.rules
|
||||||
%{_sysusersdir}/beep.conf
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue