override dh_clean; fix the wrong package name in symbols and control; breaks and replaces with libkysdk-base

This commit is contained in:
handsome-feng 2023-09-19 18:22:36 +08:00
parent c10ad69739
commit 8f3c4affad
3 changed files with 15 additions and 7 deletions

6
debian/control vendored
View File

@ -21,6 +21,8 @@ Multi-Arch: same
Depends: libkysdk-base-common (>= ${source:Version}),
${misc:Depends},
${shlibs:Depends}
breaks: libkysdk-base (<= 2.2.0.0-1+b1)
replaces: libkysdk-base (<= 2.2.0.0-1+b1)
Description: Kylin SDK basic library
libkysdk-base provides common functions in the
process of program development, including log
@ -31,7 +33,7 @@ Description: Kylin SDK basic library
Package: libkysdk-base-dev
Architecture: any
Section: libdevel
Depends: libkysdk-base ( = ${binary:Version}), libsystemd-dev, ${misc:Depends}
Depends: libkysdk-base2 (= ${binary:Version}), libsystemd-dev, ${misc:Depends}
Description: development files for libkysdk-base
libkysdk-base-dev provides common functions in the
process of program development, including log
@ -45,6 +47,8 @@ Section: misc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
breaks: libkysdk-base (<= 2.2.0.0-1+b1)
replaces: libkysdk-base (<= 2.2.0.0-1+b1)
Description: common files for kylin sdk base library
libkysdk-base provides common functions in the
process of program development, including log

View File

@ -1,4 +1,4 @@
libkydatastruct.so.2 libkysdk-base #MINVER#
libkydatastruct.so.2 libkysdk-base2 #MINVER#
* Build-Depends-Package: libkysdk-base-dev
kysdk_create_skiplist@Base 2.2.0.0
kysdk_destroy_skiplist@Base 2.2.0.0
@ -6,7 +6,7 @@ libkydatastruct.so.2 libkysdk-base #MINVER#
kysdk_skiplist_insert@Base 2.2.0.0
kysdk_skiplist_search@Base 2.2.0.0
kysdk_skiplist_setmaxlevels@Base 2.2.0.0
libkysdk-config.so.2 libkysdk-base #MINVER#
libkysdk-config.so.2 libkysdk-base2 #MINVER#
* Build-Depends-Package: libkysdk-base-dev
S_destroyParse@Base 2.2.0.0
S_getGroupList@Base 2.2.0.0
@ -33,7 +33,7 @@ libkysdk-config.so.2 libkysdk-base #MINVER#
kdk_conf_reload@Base 2.2.0.0
kdk_conf_set_value@Base 2.2.0.0
kdk_config_freeall@Base 2.2.0.0
libkysdk-gsetting.so.2 libkysdk-base #MINVER#
libkysdk-gsetting.so.2 libkysdk-base2 #MINVER#
* Build-Depends-Package: libkysdk-base-dev
kdk_gsettings_get@Base 2.2.0.0
kdk_gsettings_set@Base 2.2.0.0
@ -44,7 +44,7 @@ libkysdk-gsetting.so.2 libkysdk-base #MINVER#
kdk_settings_set_int@Base 2.2.0.0
kdk_settings_set_string@Base 2.2.0.0
schema_key_is_exist@Base 2.2.0.0
libkysdk-log.so.2 libkysdk-base #MINVER#
libkysdk-log.so.2 libkysdk-base2 #MINVER#
* Build-Depends-Package: libkysdk-base-dev
append_wrap@Base 2.2.0.0
destroyKLogger@Base 2.2.0.0
@ -73,14 +73,14 @@ libkysdk-log.so.2 libkysdk-base #MINVER#
stringLevel@Base 2.2.0.0
writeFile@Base 2.2.0.0
writeLog@Base 2.2.0.0
libkysdk-timer.so.2 libkysdk-base #MINVER#
libkysdk-timer.so.2 libkysdk-base2 #MINVER#
* Build-Depends-Package: libkysdk-base-dev
kdk_timer_destroy@Base 2.2.0.0
kdk_timer_init@Base 2.2.0.0
kdk_timer_reset@Base 2.2.0.0
kdk_timer_start@Base 2.2.0.0
kdk_timer_stop@Base 2.2.0.0
libkyutils.so.2 libkysdk-base #MINVER#
libkyutils.so.2 libkysdk-base2 #MINVER#
* Build-Depends-Package: libkysdk-base-dev
kdkVolumeBaseCharacterConvert@Base 2.2.0.0
kdkVolumeBaseNumericalConvert@Base 2.2.0.0

4
debian/rules vendored
View File

@ -7,3 +7,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# override_dh_makeshlibs:
# dh_makeshlibs --no-scripts
override_dh_clean:
rm -rf lib
rm -rf bin
dh_clean