2013-06-20 15:51:16 +02:00
|
|
|
#
|
|
|
|
# spec file for package systemd-rpm-macros
|
|
|
|
#
|
2023-01-26 15:11:52 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2013-06-20 15:51:16 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-11-26 14:56:33 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2013-06-20 15:51:16 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: systemd-rpm-macros
|
2023-06-21 10:51:21 +02:00
|
|
|
Version: 24
|
2013-06-20 15:51:16 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: RPM macros for systemd
|
2018-05-22 14:56:47 +02:00
|
|
|
License: LGPL-2.1-or-later
|
2017-01-11 17:20:27 +01:00
|
|
|
Group: Development/Tools/Building
|
2020-09-25 11:26:01 +02:00
|
|
|
URL: http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines
|
2013-06-20 15:51:16 +02:00
|
|
|
Source0: macros.systemd
|
2014-10-16 16:07:21 +02:00
|
|
|
Requires: coreutils
|
2013-06-20 15:51:16 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
2015-01-12 10:12:57 +01:00
|
|
|
#!BuildIgnore: util-linux
|
2017-06-06 10:26:34 +02:00
|
|
|
#!BuildIgnore: %{name}
|
2013-06-20 15:51:16 +02:00
|
|
|
|
2020-11-09 08:15:43 +01:00
|
|
|
# We need our own definition of %{_unitdir}.
|
2021-09-29 15:21:24 +02:00
|
|
|
%{load:%{S:0}}
|
2020-11-09 08:15:43 +01:00
|
|
|
|
2013-06-20 15:51:16 +02:00
|
|
|
%description
|
|
|
|
Starting with openSUSE 12.1, several RPM macros must be used to package systemd
|
|
|
|
services files. This package provides these macros.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2017-12-15 10:52:31 +01:00
|
|
|
install -Dm644 %{S:0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.systemd
|
2020-11-09 08:15:43 +01:00
|
|
|
mkdir -p %{buildroot}%{_unitdir}
|
2013-06-20 15:51:16 +02:00
|
|
|
|
2020-11-09 08:15:43 +01:00
|
|
|
%files
|
2013-06-20 15:51:16 +02:00
|
|
|
%defattr(-,root,root)
|
2017-12-15 10:52:31 +01:00
|
|
|
%{_rpmconfigdir}/macros.d/macros.systemd
|
2020-11-09 08:15:43 +01:00
|
|
|
%dir %{_unitdir}
|
2013-06-20 15:51:16 +02:00
|
|
|
|
|
|
|
%changelog
|