hardering
This commit is contained in:
parent
22a9950c1b
commit
25bc0f45d7
@ -1,5 +1,6 @@
|
||||
%define baseversion 1.0.27
|
||||
%define fixversion .2
|
||||
%global _hardened_build 1
|
||||
|
||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||
Name: alsa-utils
|
||||
@ -24,7 +25,11 @@ BuildRequires: libsamplerate-devel
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-units >= 39-2
|
||||
Requires(post): systemd
|
||||
Requires(preun): systemd
|
||||
Requires(postun): systemd
|
||||
Conflicts: udev <= 179-2
|
||||
# use latest alsa-lib - the executables in this package requires latest API
|
||||
Requires: alsa-lib%{?_isa} >= %{baseversion}, systemd-units >= 39-2
|
||||
@ -114,8 +119,19 @@ fi
|
||||
if [ -s /etc/asound.state -a ! -s /var/lib/alsa/asound.state ] ; then
|
||||
mv /etc/asound.state /var/lib/alsa/asound.state
|
||||
fi
|
||||
%systemd_post alsa-state.service
|
||||
|
||||
%preun
|
||||
%systemd_preun alsa-state.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart alsa-state.service
|
||||
|
||||
%changelog
|
||||
* Fri Jan 10 2014 Jaroslav Kysela <jkysela@redhat.com> - 1.0.27.2-5
|
||||
- Fix hardering build - rhbz#1008385
|
||||
- Add systemd scripts for alsa-state.service
|
||||
|
||||
* Sun Dec 29 2013 Jaroslav Kysela <jkysela@redhat.com> - 1.0.27.2-4
|
||||
- Fix alsactl crash issue - rhbz#994832
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user