templates/standard: devel package does not exist: fix calls of the rpm scriplets

This commit is contained in:
Davide Madrisan 2011-12-16 22:34:35 +01:00
parent 1d2c39f52c
commit 18548f2e30
2 changed files with 6 additions and 2 deletions

View File

@ -35,6 +35,10 @@ Changes in version 1.8.1
if the devel package is not provided by the template. if the devel package is not provided by the template.
(Pointed out by Silvan Calarco) (Pointed out by Silvan Calarco)
+ bugfix
* templates/standard - Davide Madrisan:
Devel package does not exist: fix calls of the rpm scriplets.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Changes in version 1.8.0 Changes in version 1.8.0

View File

@ -56,12 +56,12 @@ This package includes the %{name} API documentation.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@if:infopages @if:infopages
%post devel %post
## modify the infopage name as required ## modify the infopage name as required
%install_info %{name}.info %install_info %{name}.info
exit 0 exit 0
%preun devel %preun
## modify the infopage name as required ## modify the infopage name as required
%uninstall_info %{name}.info %uninstall_info %{name}.info
exit 0 exit 0