Jordan Sissel
8a1b1c5dbc
- fix deb descriptions for good?
2011-07-08 00:39:00 -07:00
Aman Gupta
351e791ecd
fix missing newline in Provides
2011-07-08 00:34:29 -07:00
Aman Gupta
8ddf448742
Merge remote-tracking branch 'origin/master' into brew2deb-backports
...
Conflicts:
lib/fpm/target/deb.rb
2011-07-07 23:57:48 -07:00
Aman Gupta
ffc007d9c0
Fix erb line endings
2011-07-07 23:17:04 -07:00
Aman Gupta
92e8cb9dcc
removed all trailing whitespace: for i in $(git ls-files); do sed -i tmp -e "s/ *$//" $i; done
2011-07-07 22:52:55 -07:00
Aman Gupta
b077dd646b
Add support for debian conflicts
2011-07-07 22:29:16 -07:00
Aman Gupta
c6684c6b3c
remove extra whitespace after Section name
2011-07-07 22:29:02 -07:00
Jordan Sissel
8512dcd66a
- patch from alcy for https://github.com/jordansissel/fpm/issues/61
2011-06-27 18:48:58 -07:00
Andrew J Cosgriff
e86fa243cf
remove bogus whitespace from debian template - it'll break a debian Packages file if it ends up in there
2011-06-28 11:12:59 +10:00
Jordan Sissel
4db6f46088
- some code cleanup
...
- source rpm => target puppet works now
2011-06-20 23:00:18 -07:00
Jordan Sissel
553e01aa2f
- previous commit missed some files; adding features to allow generating
...
multiple files from 'specfile' phase.
2011-06-20 19:33:27 -07:00
Jordan Sissel
710fe90df0
- refactor to allow package targets to override generate_specfile so
...
puppet target can write multiple files (::package class and anticlass).
2011-06-20 19:26:43 -07:00
Jordan Sissel
91918e0a3d
- Patch from jpluscplusm to work around misfeatures in debian's control
...
file regarding multiline descriptions.
2011-06-20 16:58:53 -07:00
Jordan Sissel
64c28c41eb
- seems to work. Missing a few features, but it works :)
2011-06-19 00:17:49 -07:00
Jordan Sissel
6799962f5d
- convert to using the (still undocumented) ERB "explicit line ending"
...
mode '-' so we can use '-%>' to say no newline.
2011-06-18 23:22:39 -07:00
Jordan Sissel
2a063a831e
- add stubs
2011-06-18 22:57:26 -07:00
Jordan Sissel
7bed50ebb8
- start working on https://github.com/jordansissel/fpm/issues/51
2011-06-18 22:11:03 -07:00
Jordan Sissel
d3b8bd5e76
- solaris package building works.
...
Big thanks to Ben Rockwood for giving me access to a Joyent Solaris
system so I could make this happen.
2011-06-15 07:05:24 +00:00
Jordan Sissel
14eaddadd9
- Some rpm implementations blow away %{buildroot} at the start of every
...
%build section. That sucks and is a bug/misfeature. Work around it
by unpacking the tarball in %build instead of %prep.
This should fix rpm building on SLES
(https://github.com/jordansissel/fpm/issues/44 )
Patch-like thing originally by meineerde.
Tested on ubuntu it still builds rpms just fine (no behavior change,
good). Hopefully works on SLES now :)
2011-06-09 09:48:01 -07:00
Jordan Sissel
b6bed2356d
- use "Obsoletes" in rpm when --replaces is given.
2011-05-18 12:06:52 -07:00
Jordan Sissel
b1ebf910c4
- move main program to FPM::Program
...
- support an ~/.fpmrc - the syntax of this file is one flag per line.
This file is optional.
https://github.com/jordansissel/fpm/issues/39
- Support --replaces (only .deb supports this right now, rpm seems to
not).
2011-05-18 00:38:55 -07:00
Jordan Sissel
f1b1799d48
- default version comparison should be >=0, as '>0' is deprecated.
...
https://github.com/jordansissel/fpm/issues/33
2011-05-16 00:18:38 -07:00
Jordan Sissel
a8be482afa
- move rpm multiline-description fix to just the rpm template
2011-05-11 15:52:59 -07:00
Jordan Sissel
0a91865593
Merge pull request #32 from asenchi/master
...
This add --url as a command line option.
2011-05-11 15:49:20 -07:00
Curt Micol
c7078b2967
Adds --url as a command line option.
2011-05-11 11:47:05 -04:00
Jordan Sissel
246a9c23b0
- if the description is multiple lines, only use the first line for the
...
'summary' in the rpm
2011-05-10 18:10:11 -07:00
sabowski
fbc585d3bf
Check for empty lines in the description field
...
The description field cannot contain empty lines in a debian control
file. Adds " ." to empty lines. Also removes double printing of the
description in the control file.
2011-05-06 23:49:11 -07:00
Jordan Sissel
a1a79ace51
Merge pull request #28 from sabowski/req_ver_parsing
...
Correctly parse gem requirement with both upper and lower bounds for rpms created from gems
2011-05-06 14:15:58 -07:00
sabowski
478bf03e3b
Correctly parse gem requirement with both upper and lower bounds for
...
rpms created from gems
2011-05-06 13:59:19 -07:00
Jordan Sissel
00aed80a74
- Refactor maintainer script support.
...
Supports {pre,post}{install,uninstall} tasks in deb and rpm now.
maintainers scripts are now supported. However, the interface is
likely to change in the future. I want to make a universal maintainer
script format that allows you to use the same exact script in an rpm
and in a deb package.
See https://github.com/jordansissel/fpm/issues/18
2011-05-05 00:02:27 -07:00
Jordan Sissel
f6f4730ee4
- add provids support to deb
2011-04-25 15:37:44 -07:00
Jordan Sissel
59ee089f91
- add --provides flag and support into rpm target
2011-04-25 13:40:47 -07:00
Jordan Sissel
0cac7f906d
- Add epoch support
2011-04-25 11:24:56 -07:00
Jordan Sissel
b2702e3809
- Fix issue/11 - leinaddm reported -t rpm -C foo sometimes fails to build
...
due to file paths in the generated rpm spec not leading with '/'
2011-04-01 00:31:19 -07:00
Jordan Sissel
9d2fc48a96
- If the dependency given is simply "foo" convert it to be "foo (> 0)"
...
for debian packages. Otherwise apt-get update becomes quite sad.
2011-03-21 11:47:33 -07:00
Jordan Sissel
aa933f65b3
- If iteration is nil, default to '1' for RPM
...
- Style cleanup
2011-02-07 10:52:06 -08:00
anthezium
04c19be215
make iteration optional
2011-02-04 07:12:30 -08:00
Jordan Sissel
36cbe52ecb
- Disable AutoReqProv. it makes bad decisions too often.
2011-01-22 12:51:27 -08:00
Jordan Sissel
6cce352951
- Add proper 'arch' support for rpm.
2011-01-22 10:56:15 -08:00
Jordan Sissel
7e11b8380b
- Fix gem tar building to include only the gem install dir
...
- Abort if rpmbuild fails so we can debug it.
- Fix dependency conversion for rpm
- Fix path prefixing so rpm accepts our list of files (rpm requires
paths in %files section start with '/'
2011-01-22 00:55:53 -08:00
Jordan Sissel
edf7d37620
- Convert gem '~>' dependency versions to something deb understands.
2011-01-20 16:38:06 -08:00
Jordan Sissel
ba9afb0088
- Fix dependency strings from gems to deb
2011-01-07 13:20:02 -08:00
Jordan Sissel
3629870de8
- Make rpm target work
...
- Get fpm -s rpm -t rpm working (should provide a useful test case)
- Allow 'output' (-p <path>) to be a directory
2011-01-07 00:50:06 -08:00
Jeanine Adkisson
9de4678d90
add in stubby FPM::Rpm and FPM::Gem
...
TODO: put sources and packages in separate namespaces
2011-01-05 20:02:22 -08:00
Jeanine Adkisson
7e62488ebc
use accessors in the templates
...
so the source can override them
2011-01-05 18:33:50 -08:00
Jordan Sissel
62744a8dbe
- include some more paths in npm packages
...
- set more default values since apt-get barfs on packages with missing
data, it seems. Hard to debug since the error messages are totally
meaningless.
2011-01-04 01:29:15 -08:00
Jordan Sissel
3ef75dbcd5
- support dependencies again
2011-01-03 18:47:19 -08:00
Jordan Sissel
5b942f2710
- Fix gem-ification bits (now installs+runs)
...
- Factor out 'deb' package assembly into a library
2011-01-03 18:22:09 -08:00
Jordan Sissel
59a38309b7
- purge swap file
2011-01-03 15:05:29 -08:00
Jordan Sissel
8035419385
- Start prototyping generic package creator.
2011-01-03 13:10:15 -08:00