Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

修复 fedora-deepin-extra-lib 依赖问题 #3

Open
diredocks opened this issue Feb 13, 2022 · 6 comments
Open

修复 fedora-deepin-extra-lib 依赖问题 #3

diredocks opened this issue Feb 13, 2022 · 6 comments

Comments

@diredocks
Copy link

仓库里的 fedora-deepin-extra-lib 这个包会和系统的 filesystem 包冲突,需要更改 spec 文件。

具体解决方案如下:

%files
%defattr (-,root,root)
%{_prefix}/lib/*

参见文章: 来,从AUR给Fedora偷个包

@diredocks
Copy link
Author

另外我发现目前仓库里的该包经过修复后无需手动替换库文件,只需执行最后一步:

sudo cp /usr/lib/lowversion-wldap32.dll.so /opt/deepin-wine6-stable/lib/wldap32.dll.so

好奇为什么不直接在打包的时候就把 deepin-wine6-stable 包中的该文件替换掉...

@xuthus5
Copy link
Owner

xuthus5 commented Feb 13, 2022

直接替换会被rpmbuild自动检测依赖,因为 wldap32.dll.so 经过 lddNEEDED 的依赖是低版本的,fedora35也没法对该包通过dnf进行降级

@xuthus5
Copy link
Owner

xuthus5 commented Feb 13, 2022

已修复。

@diredocks
Copy link
Author

直接替换会被rpmbuild自动检测依赖,因为 wldap32.dll.so 经过 lddNEEDED 的依赖是低版本的,fedora35也没法对该包通过dnf进行降级

我在想能不能通过 deepin-wine-wechat 的启动脚本 run.sh 自动替换文件.... 添上一行就行了。

周末愉快。

@zhullyb
Copy link

zhullyb commented Feb 13, 2022

直接替换会被rpmbuild自动检测依赖

可以在 spec 中添加一行AutoReqProv: no来禁用rpmbuild的自动检测依赖

@xuthus5
Copy link
Owner

xuthus5 commented Feb 14, 2022

直接替换会被rpmbuild自动检测依赖

可以在 spec 中添加一行AutoReqProv: no来禁用rpmbuild的自动检测依赖

好的,我会测试通过后考虑把wldap32.dll.so 打包到 fedora-deepin-extra-lib 下。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants