RPM macros for systemd

Edit Package systemd-rpm-macros

Starting with openSUSE 12.1, several RPM macros must be used to package systemd services files. This package provides these macros.

Refresh
Refresh
Source Files
Filename Size Changed
macros.systemd 0000008917 8.71 KB
systemd-rpm-macros.changes 0000012708 12.4 KB
systemd-rpm-macros.spec 0000001673 1.63 KB
Revision 37 (latest revision is 104)
Franck Bui's avatar Franck Bui (fbui) accepted request 684198 from Franck Bui's avatar Franck Bui (fbui) (revision 37)
- $1 can never be empty or it's an rpm bug

- Get rid of $FIRST_ARG
  $FIRST_ARG was probably introduced because the %service_* macros
  were playing tricks on the shell positional parameters. This is bad
  practice and error prone so let's assume that no macros should do
  that anymore and hence it's safe to assume that positional
  parameters remains unchanged after any rpm macro call.
  All users of $FIRST_ARG should have been fixed by now and in most
  cases the use of the variable was unneeded (since the macros don't
  change the shell parameters) and thus confusing.
  'net-snmp' has a different use of FIRST_ARG though as it tried to
  fake an update during a package installation. Fortunately this could
  have been fixed too.
Comments 0
openSUSE Build Service is sponsored by