kind: distutils depends: - erlang.bst - unmaintained/django.bst - unmaintained/xstatic.bst - openstack-clients.bst - unmaintained/test-tools.bst - python-tools.bst sources: - kind: git url: upstream:python-packages/rtslib-fb track: v2.1.fb52 ref: 8ffb4739d596fb1aac5d62d173d1e6f80270af9d variables: python: python config: install-commands: (>): - mkdir -p "%{install-root}%{prefix}"/lib/systemd/system - | install -D -m 0644 /proc/self/fd/0 <<'EOF' "%{install-root}%{prefix}"/lib/systemd/system/target.service [Unit] Description=Restore LIO kernel target configuration Requires=sys-kernel-config.mount After=sys-kernel-config.mount network.target local-fs.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/bin/targetctl restore ExecStop=/usr/bin/targetctl clear SyslogIdentifier=target [Install] WantedBy=multi-user.target EOF