Changes between Version 45 and Version 46 of RpmHowToPackagers


Ignore:
Timestamp:
Jan 28, 2017, 3:58:53 PM (7 years ago)
Author:
herwigb
Comment:

Add changes of wpi4rpm 0.9.2

Legend:

Unmodified
Added
Removed
Modified
  • RpmHowToPackagers

    v45 v46  
    452452%post
    453453if [ "$1" -ge 1 ]; then # (upon update)
    454     wpi4rpm del "%{name}" %{version}-%{release}
    455 fi
    456 wpi4rpm add "%{name}" %{version}-%{release}
     454    wpi4rpm del %{vendor}/%{name}/packagename %{version}-%{release}
     455fi
     456wpi4rpm add %{vendor}/%{name}/packagename %{version}-%{release}
    457457
    458458%postun
    459459if [ "$1" -eq 0 ]; then # (upon removal)
    460     wpi4rpm del "%{name}" %{version}-%{release}
    461 fi
    462 }}}
    463 
    464 Note: The purpose of this utility is not to enable to uninstall rpm/yum packages using WarpIN, but only to fake the presence of a certain WarpIN package to the installation of other WarpIN packages. Removing the database entries using WarpIN is possible, while verification and deinstallation will fail. This works as designed.
     460    wpi4rpm del %{vendor}/%{name}/packagename %{version}-%{release}
     461fi
     462}}}
     463
     464Note: The purpose of this utility is not to enable to uninstall rpm/yum packages using WarpIN, but only to fake the presence of a certain WarpIN package to the installation of other WarpIN packages. Removing the database entries using WarpIN is possible, while verification and deinstallation will fail.
     465
     466Adding vendor and packagename is optional. In case they are not provided, they will be replaced with fixed values of wpi4rpm.
    465467
    466468=== CONFIG.SYS changes ===