2010-07-27 11:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* mpkg_rpm_win.sh
  - harbour-win-spec
  + harbour-win.spec
  * mpkg_rpm_wce.sh
  - harbour-wce-spec
  + harbour-wce.spec
    * Renamed to have standard extension.

  * config/postinst.hbs
    - Deleted detection for no longer existing Linux distros.
This commit is contained in:
Viktor Szakats
2010-07-27 09:24:02 +00:00
parent 744325c148
commit 5e19ffc6b1
6 changed files with 14 additions and 4 deletions

View File

@@ -16,6 +16,18 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-07-27 11:23 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_rpm_win.sh
- harbour-win-spec
+ harbour-win.spec
* mpkg_rpm_wce.sh
- harbour-wce-spec
+ harbour-wce.spec
* Renamed to have standard extension.
* config/postinst.hbs
- Deleted detection for no longer existing Linux distros.
2010-07-27 11:06 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/sqlite3.c
* external/sqlite3/sqlite3.dif

View File

@@ -402,8 +402,6 @@ STATIC FUNCTION unix_name()
CASE ! Empty( tmp := query_rpm( "fedora-release" , "fc" ) ) ; RETURN tmp
CASE ! Empty( tmp := query_rpm( "suse-release" , "sus" ) ) ; RETURN tmp
CASE ! Empty( tmp := query_rpm( "openSUSE-release" , "sus" ) ) ; RETURN tmp
CASE ! Empty( tmp := query_rpm( "conectiva-release" , "cl" ) ) ; RETURN tmp
CASE ! Empty( tmp := query_rpm( "aurox-release" , "cl" ) ) ; RETURN tmp
/* TODO: Rewrite this in Harbour */
CASE hb_FileExists( "/etc/pld-release" )
RETURN "" /* cat /etc/pld-release|sed -e '/1/ !d' -e 's/[^0-9]//g' -e 's/^/pld/'` */

View File

@@ -90,7 +90,7 @@ then
mv ${hb_filename} ${RPMDIR}/SOURCES/
sed -e "s/^%define version .*$/%define version ${hb_ver}/g" \
-e "s/^%define releasen .*$/%define releasen ${hb_verstat}/g" \
harbour-wce-spec > ${RPMDIR}/SPECS/harbour-wce.spec
harbour-wce.spec > ${RPMDIR}/SPECS/harbour-wce.spec
if which rpmbuild >/dev/null 2>&1
then
RPMBLD="rpmbuild"

View File

@@ -114,7 +114,7 @@ then
-e "s|^%define releasen .*$|%define releasen ${hb_verstat}|g" \
-e "s|^%define hb_ccpath .*$|%define hb_ccpath ${HB_CCPATH}|g" \
-e "s|^%define hb_ccpref .*$|%define hb_ccpref ${HB_CCPREFIX}|g" \
harbour-win-spec > ${RPMDIR}/SPECS/harbour-win.spec
harbour-win.spec > ${RPMDIR}/SPECS/harbour-win.spec
if which rpmbuild >/dev/null 2>&1
then
RPMBLD="rpmbuild"