Commit graph

122 commits

Author SHA1 Message Date
Fedora Release Engineering
03c83cc477 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 17:39:01 +00:00
Zbigniew Jędrzejewski-Szmek
3c133d9e34 Add sysusers.d config file to allow rpm to create users/groups automatically
See https://fedoraproject.org/wiki/Changes/RPMSuportForSystemdSysusers.
2025-02-11 14:36:19 +01:00
Fedora Release Engineering
57e1d336b8 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 12:24:15 +00:00
Miroslav Suchý
4697af52e0 convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-25 23:06:43 +02:00
Fedora Release Engineering
3207e186bf Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 18:12:00 +00:00
Fedora Release Engineering
d05d757b64 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-23 00:15:34 +00:00
Fedora Release Engineering
ac4e09a02c Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 14:18:27 +00:00
Hans Ulrich Niedermann
1cb1544375 On EL7, use #!/bin/sed instead of #!/usr/bin/sed 2023-08-30 20:37:29 +02:00
Fedora Release Engineering
e11898073c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 14:30:40 +00:00
Hans Ulrich Niedermann
cc7b64aeed Require: systemd only on EL7, not on Fedora (#2157788)
We got the range wrong the last time. This does the
correct Requires:

    el7   systemd
    el8   systemd-udev
    el9   systemd-udev
    fc36  systemd-udev
    fc37  systemd-udev
    fc38  systemd-udev
2023-01-28 00:24:29 +01:00
Hans Ulrich Niedermann
bdcc70091a On EL7, Require: systemd instead of systemd-udev (#2157788)
It appears that the udev directories

    /etc/udev/rules.d/
    /usr/lib/udev/rules.d/

were split off from the systemd package into the systemd-udev package
some time after EL7, so a beep package for EL7 and earlier can only
"Require:" systemd, not the systemd-udev package introduced later.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2157788
2023-01-27 13:39:09 +01:00
Fedora Release Engineering
7b4e4c9f9e Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 22:47:18 +00:00
Hans Ulrich Niedermann
24958d4831 Pass through some more package flags
Pass through some more package flags, mostly so that the
rpmautospec change can be tested.
2022-08-16 22:24:42 +02:00
Hans Ulrich Niedermann
bd4f8addeb Move package to rpmautospec 2022-08-16 22:02:04 +02:00
Fedora Release Engineering
698582ac49 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 21:53:41 +00:00
Hans Ulrich Niedermann
e4571393b1 Update to beep-1.4.12
beep-1.4.12 mainly uses a simplified build system.
2022-01-29 00:34:03 +01:00
Hans Ulrich Niedermann
ef038e4ea7 fix broken rpm build from 1.4.11-3 (missing COMPILERS= in %install) 2022-01-27 23:22:45 +01:00
Hans Ulrich Niedermann
47d19ca8fb Merge branch 'spec-file-cleanups' 2022-01-27 18:41:20 +01:00
Hans Ulrich Niedermann
4a513c887f Remove explicit non-functional %attr() statements
If it is not needed, we can remove it.
2022-01-26 23:46:41 +01:00
Hans Ulrich Niedermann
c7032d3765 Stop using %doc with relative paths
Stop using %doc with relative paths and absolute paths: Only use
%doc with absolute paths (%{_pkgdocdir}).

Why? It's in the Fedora Packaging Guidelines, and epel7 builds
complain about doc files being listed twice.
2022-01-26 23:43:10 +01:00
Hans Ulrich Niedermann
3e678feefd Use more RPM macros in %build and %install steps
Use %{build_cflags} and %{build_ldflags} to hopefully use more of
what default flags are available in default builds, and switch to
more %{...} rpm macros instead of ${RPM_*} shell vars.
2022-01-26 23:42:34 +01:00
Hans Ulrich Niedermann
4989d4a7f3 rebuild to have common sources for all branches 2022-01-19 19:21:32 +01:00
Hans Ulrich Niedermann
8d050db7cc remove package.cfg
Trying to get this to build for both Fedora and Epel, and package.cfg
appears to be confusing fedpkg
2022-01-19 19:07:03 +01:00
Hans Ulrich Niedermann
3926561aa5 package.cfg: Add epel, remove master 2022-01-19 19:04:48 +01:00
Hans Ulrich Niedermann
74674faf18 Support versioned pkgdocdir for epel7
Apparently, epel7 uses a versioned directory name

    /usr/share/doc/$(PACKAGE)-$(VERSION)/

to store documentation files instead of the more common
(f34 and f35 and fNN for along time, and epel8, and
presumably epel9 as well, also Debian 10, FreeBSD13,
etc.)

    /usr/share/doc/$(PACKAGE)/
2022-01-19 12:14:39 +01:00
Hans Ulrich Niedermann
9ac4e16ee1 Update to beep-1.4.11 2022-01-15 15:55:24 +01:00
Hans Ulrich Niedermann
97bcb978d4 Update to beep-1.4.10 2022-01-15 14:03:12 +01:00
Hans Ulrich Niedermann
b89de01c88 Update README.fedora regarding alsamixer requirements 2022-01-15 13:53:34 +01:00
Hans Ulrich Niedermann
eeec5749f3 Use underscore as cursor in command prompt depiction 2022-01-15 13:53:03 +01:00
Fedora Release Engineering
cf0ac04709 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 18:31:19 +00:00
Fedora Release Engineering
6585171286 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 13:34:58 +00:00
Hans Ulrich Niedermann
c856d6be9c Remove all module dependencies
Remove all kmod(pcspkr.ko) dependencies as

    https://bugzilla.redhat.com/show_bug.cgi?id=1652823

shows dnf would just install the wrong package.

So instead, we document that the user has to explicitly
install the kernel-modules-extra package.
2021-03-25 21:39:59 +01:00
Hans Ulrich Niedermann
2b9e64956b Add "Recommends: kmod(pcspkr.ko)"
We "recommend" the kernel driver and do not "require" it in order to
not break cases where beep is installed on systems other than
bare-metal PC hardware such as containers.

This assumes the people using the "beep" package can deal with a
"beep" invocation not producing a beep on those other systems.

The alternative would be to "require" the kernel driver which would
mean that you could not install beep inside a container, even if
that container is run in a priviledged way with access to the host's
pcspkr.ko.

While the kernel supports more speaker drivers, the only hardware
platforms with a speaker driver supported by Fedora use pcspkr.ko
(PCSPKR_PLATFORM in the kernel config).

Slightly (but not quite) similar packages would be floppy-support
and joystick-support which both "require" their respective kernel
drivers, but they make less sense inside containers.
2021-03-25 17:13:42 +01:00
Hans Ulrich Niedermann
c3ad7fc60d Update README.fedora to match beep-1.4.x permission setup 2021-03-25 16:59:38 +01:00
Hans Ulrich Niedermann
47695ab281 Fix indentation of "BuildRequires: make"
The "BuildRequires: make" was added by a script running
through all of Fedora, so they did not check that the
indentation matches that of the surrounding lines of
spec file.

This adapts this line to match the indentation of the
other lines in the spec file.
2021-03-25 16:26:28 +01:00
Fedora Release Engineering
05b52566e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:03:25 +00:00
Tom Stellard
e3e5a10920 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 02:48:56 +00:00
Fedora Release Engineering
c0fc048978 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:02:28 +00:00
Fedora Release Engineering
b17da1af4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 12:51:16 +00:00
Hans Ulrich Niedermann
24330ac51e Update to beep-1.4.7
Update to beep-1.4.7:

  - Install contrib scripts for both successfully and
    failing sounding beeps.

  - beep installs its man page uncompressed, so the
    spec file can stop unzipping it for the packaging
    scripts to be able to do their compression magic.
2020-01-01 22:51:17 +01:00
Hans Ulrich Niedermann
4f70157bb9 Grammatical fixes for %description 2020-01-01 22:44:23 +01:00
Hans Ulrich Niedermann
a794ec4747 Update to the beep-1.4.6 release
Summary of the changes compared to the beep-1.4.4 release:

  * Use va_copy() macro in function with va_list parameter
    to avoid possible bug

  * Use BEEP_LOG_LEVEL environment variable for default log level
2019-12-20 06:20:53 +01:00
Fedora Release Engineering
b8d4138ba1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:10:24 +00:00
Hans Ulrich Niedermann
9bbcce32d1 Update to beep-1.4.4 release
Summary of the changes in the beep-1.4.4 release:

  * ship our own modprobe.d and udev rules.d files

  * install udev rules into /usr/lib/udev/rules.d/
    (if the sysadmin want their own rules, they can
    add them to /etc/udev/rules.d/)

  * new out of the box permission setup: allow local
    users and "beep" group

  * add note on using sox/play with modern sound infrastructure

  * adapt beep(1) man page to mention README.fedora

  * set compiler flags for "make install" (just in case)

  * install extra source files directly from %{SOURCEn}

  * ship the installed doc files as %doc (no need to install
    them from source)
2019-04-02 20:15:29 +02:00
Fedora Release Engineering
b8c78793f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 14:31:30 +00:00
Hans Ulrich Niedermann
704d834cd4 Update to beep-1.4.3 2019-01-18 03:23:26 +01:00
Hans Ulrich Niedermann
14bf4ee547 Change directory Requires to use package names
This should avoid the errors thrown by the automated dist.rpmdeplint.
2019-01-15 20:47:23 +01:00
Hans Ulrich Niedermann
ff47ff157f Update to 1.4.1 2019-01-08 08:00:43 +01:00
Hans Ulrich Niedermann
cbc662f837 clean up specfile with new guidelines in hand 2019-01-08 07:59:39 +01:00
Hans Ulrich Niedermann
5d7189e984 beep-1.4.0-1
Update to beep-1.4.0.
2019-01-04 13:20:18 +01:00