lib/easyfpm/packaging.rb in easyfpm-0.2.0.pre vs lib/easyfpm/packaging.rb in easyfpm-0.2.1.pre

- old
+ new

@@ -337,10 +337,10 @@ #Here we have the pkg-output-dir treatment if message == "Created package" and path if labelconf.has_key? "pkg-suffix" #We have to rename the package case labelconf["pkg-type"] - when "rpm", "deb" + when "rpm" #Suffix has to be fixed before arch and extension newpathmatch = /^(.+)(\.[^.]+\.[^.]+)$/.match(path) newpath=newpathmatch[1]+labelconf["pkg-suffix"]+newpathmatch[2] else #By default suffix is before extension