Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP2
systemd-rpm-macros.16504
systemd-rpm-macros.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File systemd-rpm-macros.spec of Package systemd-rpm-macros.16504
# # spec file for package systemd-rpm-macros # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: systemd-rpm-macros Version: 4 Release: 0 Summary: RPM macros for systemd License: LGPL-2.1+ Group: Development/Tools/Building Url: http://en.opensuse.org/openSUSE:Systemd_packaging_guidelines Source0: macros.systemd Requires: coreutils BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch #!BuildIgnore: util-linux #!BuildIgnore: %{name} %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 install -Dm644 %{S:0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.systemd UNITDIR="$(sed -n 's/.*_unitdir[[:blank:]]*//p' %{S:0})" for i in $UNITDIR `dirname $UNITDIR`; do mkdir -p %{buildroot}$i echo $i >> unitdir done %files -f unitdir %defattr(-,root,root) %{_rpmconfigdir}/macros.d/macros.systemd %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor