Compare commits
No commits in common. "rawhide" and "f42" have entirely different histories.
1 changed files with 4 additions and 8 deletions
12
beep.spec
12
beep.spec
|
|
@ -61,6 +61,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 +84,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 +124,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 +146,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