Accepting request 438186 from home:posophe:branches:vdr
fix OBS-URL: https://build.opensuse.org/request/show/438186 OBS-URL: https://build.opensuse.org/package/show/vdr/lirc?expand=0&rev=74
This commit is contained in:
parent
ab789284ff
commit
6d48aa536b
10
lirc.spec
10
lirc.spec
@ -30,7 +30,7 @@ Group: Hardware/Other
|
||||
Url: http://www.lirc.org/
|
||||
Source0: http://downloads.sourceforge.net/project/lirc/LIRC/%{version}/lirc-%{version}.tar.bz2
|
||||
Source1: baselibs.conf
|
||||
Patch: lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch
|
||||
Patch0: lircd-Remove-use-of-functions-killed-in-kernel-4.8.0.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@ -53,6 +53,7 @@ BuildRequires: pkgconfig(sm)
|
||||
BuildRequires: pkgconfig(systemd)
|
||||
BuildRequires: pkgconfig(udev)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: zypper
|
||||
Requires: udev
|
||||
Recommends: lirc-remotes
|
||||
Suggests: lirc-kmp
|
||||
@ -209,9 +210,10 @@ sed -i -e '/^effective-user/s/=$/= lirc/' lirc_options.conf
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%if %{?suse_version} > 4220
|
||||
%patch -p1
|
||||
%endif
|
||||
if zypper vcmp $(rpm -qf "%%{version}" linux-glibc-devel) 4.8~ | grep
|
||||
"is newer"; then
|
||||
%patch0
|
||||
fi
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
Loading…
x
Reference in New Issue
Block a user