Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | update perl_convert_version macro | Christophe Fergeau | 2009-07-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Patch from Jérôme Quelin current %perl_convert_version is defined as: %perl_convert_version() %(perl -Mversion -le %'$v=version->new(%{1})->normal; $v=~s/^v//; print $v') however, this does not work when parsing strange versions such as 1.03a or 6.0.e (yes, those exist). currently we get: $ rpm --eval '%perl_convert_version 1.03a' Bareword found where operator expected at -e line 1, near "1.03a" (Missing operator before a?) syntax error at -e line 1, near "1.03a" Execution of -e aborted due to compilation errors. $ rpm --eval '%perl_convert_version 6.0.e' 0.0.0 therefore, i would like to update it a bit to read: %perl_convert_version() %(perl -Mversion -le %'$v=version->new("%{1}")->normal; $v=~s/^v//; print $v') (note the quotes enclosing the %{1}) using this macro on above examples, we would get 1.30.0 and 6.0.0. not perfect, but at least it doesn't fail, and %mkrel can be used to differentiate them. | ||||
* | Add new perl_convert_version macro to convert cpan version to rpm version | Christophe Fergeau | 2009-02-03 | 1 | -0/+3 |
| | |||||
* | - call patch with -U (aka --unified-reject-files) | Pascal Rigaux | 2009-01-29 | 1 | -1/+1 |
| | |||||
* | - when %_with_git_repository is set, define %_after_setup and %_patch to use | Pascal Rigaux | 2009-01-29 | 1 | -0/+9 |
| | | | | | the new scripts git-repository--after-tarball and git-repository--apply-patch | ||||
* | add a warning about %defaultbuildroot | Pascal Rigaux | 2008-12-15 | 1 | -0/+1 |
| | |||||
* | add make_dm_session macro that calls fndSession1.85 | Olivier Blin | 2008-07-21 | 1 | -0/+2 |
| | |||||
* | 1.84: [bugfix] fix %update_icon_cache/%clean_icon_cache1.841.83 | Pascal Rigaux | 2008-07-10 | 1 | -5/+5 |
| | |||||
* | 1.83: intelligent %update_icon_cache/%clean_icon_cache which are null for | Pascal Rigaux | 2008-07-10 | 1 | -2/+15 |
| | | | | | caches handled through filetriggers, but as used to be for other caches | ||||
* | 1.81: fixes deprecated macros that were broken in previous release1.81 | Pascal Rigaux | 2008-06-20 | 1 | -3/+3 |
| | | | | | (%update_icon_cache, %clean_icon_cache, %post_install_gconf_schemas) | ||||
* | 1.80: macros deprecated by rpm filetriggers now return nothing1.80 | Pascal Rigaux | 2008-06-13 | 1 | -54/+17 |
| | |||||
* | remove some more macros which are now in rpm-manbo-setup | Pascal Rigaux | 2008-02-15 | 1 | -16/+0 |
| | |||||
* | 1.74: remove macros needed for Manbo packages (they are now in rpm-manbo-setup)1.74 | Pascal Rigaux | 2008-02-15 | 1 | -87/+0 |
| | |||||
* | move many macros out of /usr/lib/rpm/<vendor>/macros into | Pascal Rigaux | 2008-01-29 | 1 | -0/+435 |
new file /etc/rpm/macros.d/build.macros, those macros will not be available anymore if rpm-<vendor>-setup-build is not installed |