Mailinglist Archive: opensuse-packaging (102 mails)

< Previous Next >
[opensuse-packaging] Patches naming (include source version?)
  • From: Kyrill Detinov <lazy.kent@xxxxxxxxxxxx>
  • Date: Tue, 3 Feb 2015 22:03:17 +0300
  • Message-id: <20150203220317.062d7901@lazy>

Hello.

What is the rule for naming patches? I mean including or not a version
of a source in the name.

Following
https://en.opensuse.org/openSUSE:Packaging_Patches_guidelines#Patch_naming
"Do NOT use %{version} macro in Patch: line, specify the version by
hand." A patch will look like foo-1.2.3-fix_something.patch.

Is it still valid? I see a lot of patches without a version in their
names.

What is the right way? I prefer to have a version in a patch name to
know that foo-1.2.4-fix_something.patch is applied for "foo = 1.2.4"
and, possibly, for "foo > 1.2.4". And it isn't applied for "foo <
1.2.4".

--
WBR
Kyrill
< Previous Next >
Follow Ups