Commit Graph

109 Commits

Author SHA1 Message Date
Dennis Kaarsemaker
a3de9e049f Update metadata to reflect recent changes 2011-08-31 21:36:09 +02:00
Dennis Kaarsemaker
072bbd741b Silence output about skipping dependencies 2011-08-31 21:03:57 +02:00
Dennis Kaarsemaker
8eb8dc287f Check the search path for rpm, rpmbuild, etc. 2011-08-31 21:00:26 +02:00
Dennis Kaarsemaker
f3017f18fc Add --download-only to replace cpanget 2011-08-31 20:42:46 +02:00
Dennis Kaarsemaker
73d854d3b3 Remove completed features from TODO 2011-08-31 19:03:09 +02:00
Dennis Kaarsemaker
2c6340efb0 Add an option to print the generated specfile to stdout
This is useful when you want to postprocess the generated specfile in
some way. We use this in our build system to merge in old changelogs and
customizations.
2011-08-31 18:36:27 +02:00
Dennis Kaarsemaker
3b953c0923 Allow building rpms for slightly older perl versions
The --old version is a bit of a harsh measure when merely building
specfiles for centos 4 (perl 5.8.5) rpms on centos 5 (perl 5.8.8). This
patch allows you to specify a minimum version to support and will use
Module::Corelist instead of rpm to generate the corelist for that
version.
2011-08-31 18:35:04 +02:00
Dennis Kaarsemaker
1cd8735b7c Check all build requirements against CPAN
- If a module is provided by ourselves: don't add a build dependency
- If a module does not exist on CPAN: don't add a build dependency. It
  is most likely a module shipped by the module itself to support tests
2011-08-31 18:35:03 +02:00
Dennis Kaarsemaker
28dc8e9339 Stop losing dependency version information
cpanspec would unconditionally set the version requirement to 0 for
Module::Build, ExtUtils::MakeMaker and dependencies detected in tests.
This is not correct if the module already has specified a versioned
dependency.
2011-08-31 18:35:03 +02:00
Dennis Kaarsemaker
c406955800 Strip any version comparison operator from the 'perl' build requirement
Because cpanspec does things with the epoch, and already adds version
comparison operators itself, they should be stripped from whatever
META.yml specifies so cpanspec does not generate invalid spec files.
2011-08-31 18:35:03 +02:00
Dennis Kaarsemaker
5516e78b17 Add entries from configure_requres in META.yml as build dependencies 2011-08-31 18:35:03 +02:00
Dennis Kaarsemaker
38694a59b1 Detect scripts better
cpanspec tries to detect when scripts will be installed, so it can add
man1 and bindir entries to %files. This patch adds some more heuristics
to detect more cases of scri[ts being installed.
2011-08-31 18:35:03 +02:00
Dennis Kaarsemaker
a84c2839ce Don't let Module::AutoInstall run interactively 2011-08-31 18:35:03 +02:00
Dennis Kaarsemaker
b3723347b2 Add a simple blacklisting mechanism
Some modules are detected as dependencies due to looking in tests. This
patch blacklists some common 'false positives'
2011-08-31 18:35:03 +02:00
Steven Pritchard
3d7b8a4f38 Add script detection (patch from Jeff Fearn). 2010-12-08 09:17:32 -06:00
stevenpritchard
8921253da7 * curl doesn't tell us what it is downloading, so be more verbose.
* Don't download files with curl unless they've been modified.
2010-02-13 20:25:30 +00:00
stevenpritchard
1e000c55ac Extract dependencies from tests. 2009-01-22 01:48:06 +00:00
stevenpritchard
5ab6da388b It's 2009. Update Copyright.
1.78 release.
2009-01-16 20:35:17 +00:00
stevenpritchard
4e33d99852 Assume that *.inl is a hint that this isn't noarch.
Add note to BUGS that Mail::ClamAV gives us trouble.
2008-07-09 17:37:15 +00:00
stevenpritchard
2624faad38 Ignore pax_global_header file. 2008-07-02 18:27:25 +00:00
stevenpritchard
ba39225a62 Send STDIN to /dev/null in the child when executing Makefile.PL. (Bug report from Peter Willis.) 2008-06-23 23:55:11 +00:00
stevenpritchard
fc9af6c480 Add note for Data::Dump::Streamer breakage. 2008-06-21 18:40:41 +00:00
stevenpritchard
0b48c293a2 Fix up the license list some more. 2008-06-17 20:47:40 +00:00
stevenpritchard
0fe71962b8 Only use --nodeps if we're only building a source rpm. 2008-06-16 19:24:04 +00:00
stevenpritchard
36bae4ff8d Add note to BUGS. 2008-06-16 18:45:17 +00:00
stevenpritchard
87c92858e7 Drop dependency on Module::CoreList and just fetch the list from rpm. 2008-06-16 18:43:22 +00:00
stevenpritchard
a06e38d230 1.75 release 2008-05-05 22:04:51 +00:00
stevenpritchard
f4424d02d1 Try $] as-is and numeric when we use it with Module::CoreList. 2008-05-05 20:17:50 +00:00
stevenpritchard
47a5b7878e The best README is probably the one with the shortest filename. 2008-05-05 18:39:21 +00:00
stevenpritchard
4825c92807 * Make sure $] is numeric before we use it with Module::CoreList.
* Switch from wget to curl in cpanget since wget is broken in Fedora 9.
2008-04-25 20:18:41 +00:00
stevenpritchard
0a266eb49d 1.74 release 2007-12-11 16:25:29 +00:00
stevenpritchard
4d74ce58c3 Perl license is now tagged "GPL+ or Artistic". 2007-10-15 18:04:11 +00:00
stevenpritchard
21f3a81eda "v" fix, take 3. 2007-08-02 23:11:50 +00:00
stevenpritchard
434b302875 More "v" fixes.
Continue on YAML errors.
2007-08-02 22:51:41 +00:00
stevenpritchard
3ef653a854 Maybe finally handle "v" in version number correctly. 2007-08-02 22:22:37 +00:00
stevenpritchard
c72d761954 1.73 release 2007-07-22 19:58:52 +00:00
stevenpritchard
2856cf4417 Filter repoquery results better. 2007-07-16 16:10:40 +00:00
stevenpritchard
3a9284694b 1.72 release 2007-07-13 15:55:35 +00:00
stevenpritchard
cc8ebbc092 Improve last fix. 2007-07-10 16:43:46 +00:00
stevenpritchard
45b5a62595 Properly handle "requires: perl: 0" in META.yml. 2007-07-10 15:29:34 +00:00
stevenpritchard
03222c517c Filter out "Loading ... plugin" when running repoquery.
Add note to BUGS about broken Mail::SPF package.
2007-07-09 19:03:51 +00:00
stevenpritchard
7ae893f74b Get rid of the word "Extras". 2007-06-29 18:31:32 +00:00
stevenpritchard
a723b9cdfc Release 1.71. 2007-06-29 18:21:14 +00:00
stevenpritchard
68438edd83 * Add option processing to cpanget. It now accepts the following options:
-h          Print usage message
  -n          Don't download, only print URLs
  -q          Work quietly
2007-06-20 03:40:20 +00:00
stevenpritchard
f72dd2827d Exclude config.guess, config.sub, and install.sh (usually seen near configure.) 2007-05-25 00:54:59 +00:00
stevenpritchard
56697ec232 Handle .bz2 files. 2007-03-16 18:16:02 +00:00
stevenpritchard
323c7b0e0f It's 2007 now, so update the copyright. 2007-03-12 23:28:50 +00:00
stevenpritchard
aaf8df6b60 Tag 1.70. 2007-03-12 23:12:48 +00:00
stevenpritchard
bc20626239 Add BuildRequires: perl(ExtUtils::MakeMaker) when using Makefile.PL. 2007-03-12 23:00:18 +00:00
stevenpritchard
010de34fe6 Exclude *.cfg from %doc. 2007-03-05 18:23:36 +00:00