Accepting request 233441 from vdr
- use _rundir macro (forwarded request 233010 from oertel) OBS-URL: https://build.opensuse.org/request/show/233441 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lirc?expand=0&rev=52
This commit is contained in:
commit
00b4c44e8f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 8 11:44:22 CEST 2014 - ro@suse.de
|
||||||
|
|
||||||
|
- use _rundir macro
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Mar 2 13:03:37 UTC 2013 - seife+obs@b1-systems.com
|
Sat Mar 2 13:03:37 UTC 2013 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
17
lirc.spec
17
lirc.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package lirc
|
# spec file for package lirc
|
||||||
#
|
#
|
||||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -69,6 +69,9 @@ Supplements: lirc-kmp
|
|||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: pkgconfig(udev)
|
BuildRequires: pkgconfig(udev)
|
||||||
%define _udevdir %(pkg-config --variable udevdir udev)
|
%define _udevdir %(pkg-config --variable udevdir udev)
|
||||||
|
%if ! %{defined _rundir}
|
||||||
|
%define _rundir %{_localstatedir}/run
|
||||||
|
%endif
|
||||||
|
|
||||||
Requires(pre): %fillup_prereq
|
Requires(pre): %fillup_prereq
|
||||||
Requires(pre): %insserv_prereq
|
Requires(pre): %insserv_prereq
|
||||||
@ -167,9 +170,9 @@ make -C doc DESTDIR=%{buildroot} install
|
|||||||
mkdir -p %{buildroot}%{_datadir}/lirc
|
mkdir -p %{buildroot}%{_datadir}/lirc
|
||||||
cp -a remotes %{buildroot}%{_datadir}/lirc
|
cp -a remotes %{buildroot}%{_datadir}/lirc
|
||||||
install -d -m 755 %{buildroot}/dev
|
install -d -m 755 %{buildroot}/dev
|
||||||
mkdir -p %{buildroot}%{_localstatedir}/run/lirc
|
mkdir -p %{buildroot}%{_rundir}/lirc
|
||||||
touch %{buildroot}%{_localstatedir}/run/lirc/lircd
|
touch %{buildroot}%{_rundir}/lirc/lircd
|
||||||
chmod 600 %{buildroot}%{_localstatedir}/run/lirc/*
|
chmod 600 %{buildroot}%{_rundir}/lirc/*
|
||||||
# lircd init scripts
|
# lircd init scripts
|
||||||
install -d -m 755 %{buildroot}%{_sysconfdir}/init.d \
|
install -d -m 755 %{buildroot}%{_sysconfdir}/init.d \
|
||||||
%{buildroot}%{_sbindir} \
|
%{buildroot}%{_sbindir} \
|
||||||
@ -208,9 +211,9 @@ chmod 644 %{buildroot}%{_bindir}/pronto2lirc
|
|||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
%doc doc/html doc/images doc/lirc.hwdb doc/lirc.css doc/irxevent.keys
|
%doc doc/html doc/images doc/lirc.hwdb doc/lirc.css doc/irxevent.keys
|
||||||
%doc contrib
|
%doc contrib
|
||||||
%dir %ghost %{_localstatedir}/run/lirc
|
%dir %ghost %{_rundir}/lirc
|
||||||
%ghost %{_localstatedir}/run/lirc/lircm
|
%ghost %{_rundir}/lirc/lircm
|
||||||
%ghost %{_localstatedir}/run/lirc/lircd
|
%ghost %{_rundir}/lirc/lircd
|
||||||
%attr(0755,root,root)/usr/bin/*
|
%attr(0755,root,root)/usr/bin/*
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
%{_sysconfdir}/init.d/lirc
|
%{_sysconfdir}/init.d/lirc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user