1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
%define oname systemd Name: rpm-build-%oname Version: 5 Release: alt0.3.p9 Summary: RPM helper macros to build packages with systemd support License: LGPL-2.1-or-later Group: Development/Other BuildArch: noarch Source1: systemd.macros Requires: rpm-macros-%oname >= %EVR Requires: libsystemd-devel %description %summary. %package -n rpm-macros-%oname Group: Development/Other BuildArch: noarch Summary: Macros that define paths and scriptlets related to systemd %description -n rpm-macros-%oname %summary. %prep %build %install mkdir -p %buildroot%_rpmmacrosdir install -D -m644 %SOURCE1 -p %buildroot%_rpmmacrosdir/%oname %files %files -n rpm-macros-%oname %_rpmmacrosdir/* %changelog * Fri Jan 21 2022 Alexey Shabalin <shaba@altlinux.org> 5-alt0.3.p9 - Backport to p9. * Mon Oct 18 2021 Alexey Shabalin <shaba@altlinux.org> 5-alt0.3.p10 - Fixed typo in bash script. * Mon Oct 18 2021 Alexey Shabalin <shaba@altlinux.org> 5-alt0.2.p10 - Drop requires on systemd from package with macros. * Wed Oct 13 2021 Alexey Shabalin <shaba@altlinux.org> 5-alt0.1.p10 - Add macros from rpm-build-4.0.4-alt176. - Backport to p10. * Mon Oct 11 2021 Alexey Shabalin <shaba@altlinux.org> 5-alt1 - Rename macros post_systemd_restart_later to post_systemd_postponed * Sun Sep 05 2021 Alexey Shabalin <shaba@altlinux.org> 4-alt1 - Fixed %%post_systemd_restart_later macros. * Thu Sep 02 2021 Alexey Shabalin <shaba@altlinux.org> 3-alt1 - Used systemd-update-helper in macroses. * Fri Aug 27 2021 Alexey Shabalin <shaba@altlinux.org> 2-alt2 - Fixed rpm changelog for 2-alt1. * Thu Aug 26 2021 Alexey Shabalin <shaba@altlinux.org> 2-alt1 - Added macroses: %%post_systemd, %%preun_systemd, %%post_systemd_restart_later * Mon Aug 23 2021 Alexey Shabalin <shaba@altlinux.org> 1-alt1 - Initial build.