Closed klen closed 10 years ago
As temporary solution I just add another one '\n' to Packages file generation. And it fix my problem.
diff --git a/lib/prm/repo.rb b/lib/prm/repo.rb
index 1a055e2..6e9a727 100755
--- a/lib/prm/repo.rb
+++ b/lib/prm/repo.rb
@@ -131,6 +131,7 @@ module Debian
write_mutex.synchronize do
# Copy the control file data into the Packages list
d.write(File.read("tmp/#{tdeb}/control").chomp)
+ d.write("\n")
d.write(package_info.join("\n"))
d.write("\n") # blank line between package info in the Packages file
end
I just tripped over this as well. Worse, I think it was my patch adding the chomp that might've caused this. :-(
Sorry for the delay! Holiday season has got me rolling over.
I've merged this latest pull request from saintaardvark. I'll be uploading the new gem to rubygems.org shortly
Hello,
Thank you for the tool. I try to setup repository and using fpm and prm.
My Makefile shortcut looks like:
Fpm makes build as well and prm prepares repo. But generated Packages have error:
Description and Filename are merged in one string. So, the generated repository is invalid.
My gem list: