Mailinglist Archive: opensuse-packaging (121 mails)

< Previous Next >
[opensuse-packaging] spec-cleaner and defines
Hi,
here is my stupid question of the day:

spec-cleaner wants to move defines to the beginning of the spec file. But I need it after Name and Version like that:

Name: hmcfgusb
Version: 0.103
%define tarball %{name}-%{version}.tar.gz
...
URL: https://git.zerfleddert.de/hmcfgusb/releases/%{tarball}
Source: %{tarball}


spec-cleaner wants to turn it around, but then it does not work:

%define tarball %{name}-%{version}.tar.gz
Name: hmcfgusb
Version: 0.103
...

Is it ok to ignore (in that case) spec-cleaner or is there a better way to achieve that?

--
Mit freundlichen Gruessen,
  Andreas Vetter

Stellv. IT-Bereichsmanager Fakultaet fuer Physik und Astronomie
Tel.: +49 (0)931 31-82264

Informations- und Kommunikationstechnik
Tel: +49 (0)931 31-85890
iuk@xxxxxxxxxxxxxxxxxxxxxxx
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >