Пакет sysvinit-tmpfiles: Specfile

%define systemdtmpfiles /sbin/systemd-tmpfiles

Name: sysvinit-tmpfiles
Version: 1.0
Release: alt1

Summary: Support tmpfiles.d for System V init tools
Group: System/Configuration/Boot and Init
License: %lgpl21plus
BuildArch: noarch

Source2: tmpfiles.cron.daily.in

BuildRequires(pre): rpm-build-licenses

Requires: %systemdtmpfiles
Requires: startup >=

This package containing support for System V init tools,
automatically creating, deleting and cleaning up volatile
and temporary files and directories, based on the configuration
file format and location specified in tmpfiles.d.

When using the systemd this package not need it.

%setup -cT
cat > configure.sed <<EOF
#! /bin/sed -f

chmod 755 configure.sed

./configure.sed %SOURCE2 > tmpfiles.cron.daily

install -pD -m755 tmpfiles.cron.daily %buildroot%_sysconfdir/cron.daily/tmpfiles


* Fri Feb 19 2016 Aleksey Avdeev <solo@altlinux.ru> 1.0-alt1
- Remove tmpfiles init script (is old)

* Wed Feb 10 2016 Aleksey Avdeev <solo@altlinux.ru> 0.1-alt1
- Initial build for ALT Linux (ALT#31718)