前言
fedora不直接提供.gz源码包,只有src.rpm
上次在powerpc版fedora23上尝试替换sshd, 用的是gnu公版openssh源码,由于编译时没有找到对应的依赖.gz源码包,没换成…
这次找到src.rpm的使用资料了,做个试验。
试验做成之后,如果以后要对应用程序做修改,就可以下载,编译,修改具体fedora系统对应的实际发行版本的源码了,这样修改效果和兼容性都好。
试验
查看试验系统的fedora版本
[root@localhost ~]# cat /etc/issue
Fedora release 22 (Twenty Two)
Kernel \r on an \m (\l)
[root@localhost ~]# cat /etc/fedora-release
Fedora release 22 (Twenty Two)
[root@localhost ~]#
查看_topdir位置
src.rpm安装完,源码解压到_topdir目录下
[root@localhost ~]# rpm --showrc | grep topdir
-14: _builddir %{_topdir}/BUILD
-14: _buildrootdir %{_topdir}/BUILDROOT
-14: _rpmdir %{_topdir}/RPMS
-14: _sourcedir %{_topdir}/SOURCES
-14: _specdir %{_topdir}/SPECS
-14: _srcrpmdir %{_topdir}/SRPMS
-14: _topdir %{getenv:HOME}/rpmbuild
可以看到 _topdir在~/rpmbuild目录下。
源码库稳定版的查询
源码库url规则
https://mirrors.fedoraproject.org/mirrorlist?repo=fedora版本&arch=cpu架构
x86/x64的的镜像
https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=x86_64
powerpc的镜像
https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=ppc64
https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-22&arch=ppc64le
版本和cpu架构总列表
这样可以下载到fedora任意版的稳定版源码了
# following repositories are available:
# repo=atomic-21&arch=x86_64
# repo=core-2&arch=i386
# repo=core-2&arch=x86_64
# repo=core-3&arch=i386
# repo=core-3&arch=x86_64
# repo=core-4&arch=i386
# repo=core-4&arch=ppc
# repo=core-4&arch=x86_64
# repo=core-5&arch=i386
# repo=core-5&arch=ppc
# repo=core-5&arch=x86_64
# repo=core-6&arch=i386
# repo=core-6&arch=ppc
# repo=core-6&arch=x86_64
# repo=core-debug-3&arch=i386
# repo=core-debug-3&arch=x86_64
# repo=core-debug-4&arch=i386
# repo=core-debug-4&arch=ppc
# repo=core-debug-4&arch=x86_64
# repo=core-debug-5&arch=i386
# repo=core-debug-5&arch=ppc
# repo=core-debug-5&arch=x86_64
# repo=core-debug-6&arch=i386
# repo=core-debug-6&arch=ppc
# repo=core-debug-6&arch=x86_64
# repo=core-source-5&arch=source
# repo=core-source-6&arch=source
# repo=epel-4&arch=i386
# repo=epel-4&arch=ppc
# repo=epel-4&arch=x86_64
# repo=epel-5&arch=i386
# repo=epel-5&arch=ppc
# repo=epel-5&arch=x86_64
# repo=epel-6&arch=i386
# repo=epel-6&arch=ppc64
# repo=epel-6&arch=x86_64
# repo=epel-7&arch=aarch64
# repo=epel-7&arch=ppc64
# repo=epel-7&arch=ppc64le
# repo=epel-7&arch=x86_64
# repo=epel-debug-4&arch=i386
# repo=epel-debug-4&arch=ppc
# repo=epel-debug-4&arch=x86_64
# repo=epel-debug-5&arch=i386
# repo=epel-debug-5&arch=ppc
# repo=epel-debug-5&arch=x86_64
# repo=epel-debug-6&arch=i386
# repo=epel-debug-6&arch=ppc64
# repo=epel-debug-6&arch=x86_64
# repo=epel-debug-7&arch=aarch64
# repo=epel-debug-7&arch=ppc64
# repo=epel-debug-7&arch=ppc64le
# repo=epel-debug-7&arch=x86_64
# repo=epel-source-4&arch=source
# repo=epel-source-5&arch=source
# repo=epel-source-6&arch=source
# repo=epel-source-7&arch=source
# repo=extras-3&arch=i386
# repo=extras-3&arch=x86_64
# repo=extras-4&arch=i386
# repo=extras-4&arch=ppc
# repo=extras-4&arch=x86_64
# repo=extras-5&arch=i386
# repo=extras-5&arch=ppc
# repo=extras-5&arch=x86_64
# repo=extras-6&arch=i386
# repo=extras-6&arch=ppc
# repo=extras-6&arch=x86_64
# repo=extras-debug-3&arch=i386
# repo=extras-debug-3&arch=x86_64
# repo=extras-debug-4&arch=i386
# repo=extras-debug-4&arch=ppc
# repo=extras-debug-4&arch=x86_64
# repo=extras-debug-5&arch=i386
# repo=extras-debug-5&arch=ppc
# repo=extras-debug-5&arch=x86_64
# repo=extras-debug-6&arch=i386
# repo=extras-debug-6&arch=ppc
# repo=extras-debug-6&arch=x86_64
# repo=extras-source-3&arch=source
# repo=extras-source-4&arch=source
# repo=extras-source-5&arch=source
# repo=extras-source-6&arch=source
# repo=fedora-10&arch=i386
# repo=fedora-10&arch=ppc
# repo=fedora-10&arch=ppc64
# repo=fedora-10&arch=x86_64
# repo=fedora-11&arch=i386
# repo=fedora-11&arch=ppc
# repo=fedora-11&arch=ppc64
# repo=fedora-11&arch=x86_64
# repo=fedora-12&arch=i386
# repo=fedora-12&arch=ppc
# repo=fedora-12&arch=ppc64
# repo=fedora-12&arch=x86_64
# repo=fedora-13&arch=arm
# repo=fedora-13&arch=i386
# repo=fedora-13&arch=x86_64
# repo=fedora-14&arch=arm
# repo=fedora-14&arch=i386
# repo=fedora-14&arch=x86_64
# repo=fedora-15&arch=arm
# repo=fedora-15&arch=armhfp
# repo=fedora-15&arch=i386
# repo=fedora-15&arch=ppc
# repo=fedora-15&arch=ppc64
# repo=fedora-15&arch=s390
# repo=fedora-15&arch=s390x
# repo=fedora-15&arch=x86_64
# repo=fedora-16&arch=i386
# repo=fedora-16&arch=s390
# repo=fedora-16&arch=s390x
# repo=fedora-16&arch=x86_64
# repo=fedora-17&arch=i386
# repo=fedora-17&arch=x86_64
# repo=fedora-18&arch=i386
# repo=fedora-18&arch=x86_64
# repo=fedora-19&arch=i386
# repo=fedora-19&arch=ppc
# repo=fedora-19&arch=ppc64
# repo=fedora-19&arch=s390
# repo=fedora-19&arch=s390x
# repo=fedora-19&arch=x86_64
# repo=fedora-20&arch=armhfp
# repo=fedora-20&arch=i386
# repo=fedora-20&arch=ppc
# repo=fedora-20&arch=ppc64
# repo=fedora-20&arch=s390
# repo=fedora-20&arch=s390x
# repo=fedora-20&arch=x86_64
# repo=fedora-21&arch=aarch64
# repo=fedora-21&arch=armhfp
# repo=fedora-21&arch=i386
# repo=fedora-21&arch=ppc64
# repo=fedora-21&arch=ppc64le
# repo=fedora-21&arch=s390
# repo=fedora-21&arch=s390x
# repo=fedora-21&arch=x86_64
# repo=fedora-22&arch=aarch64
# repo=fedora-22&arch=armhfp
# repo=fedora-22&arch=i386
# repo=fedora-22&arch=ppc64
# repo=fedora-22&arch=ppc64le
# repo=fedora-22&arch=s390
# repo=fedora-22&arch=s390x
# repo=fedora-22&arch=x86_64
# repo=fedora-23&arch=aarch64
# repo=fedora-23&arch=armhfp
# repo=fedora-23&arch=i386
# repo=fedora-23&arch=ppc64
# repo=fedora-23&arch=ppc64le
# repo=fedora-23&arch=s390
# repo=fedora-23&arch=s390x
# repo=fedora-23&arch=x86_64
# repo=fedora-24&arch=aarch64
# repo=fedora-24&arch=armhfp
# repo=fedora-24&arch=i386
# repo=fedora-24&arch=ppc64
# repo=fedora-24&arch=ppc64le
# repo=fedora-24&arch=s390x
# repo=fedora-24&arch=x86_64
# repo=fedora-25&arch=aarch64
# repo=fedora-25&arch=armhfp
# repo=fedora-25&arch=i386
# repo=fedora-25&arch=ppc64
# repo=fedora-25&arch=ppc64le
# repo=fedora-25&arch=s390x
# repo=fedora-25&arch=x86_64
# repo=fedora-26&arch=aarch64
# repo=fedora-26&arch=armhfp
# repo=fedora-26&arch=i386
# repo=fedora-26&arch=ppc64
# repo=fedora-26&arch=ppc64le
# repo=fedora-26&arch=s390x
# repo=fedora-26&arch=x86_64
# repo=fedora-27&arch=aarch64
# repo=fedora-27&arch=armhfp
# repo=fedora-27&arch=i386
# repo=fedora-27&arch=ppc64
# repo=fedora-27&arch=ppc64le
# repo=fedora-27&arch=s390x
# repo=fedora-27&arch=x86_64
# repo=fedora-28&arch=aarch64
# repo=fedora-28&arch=armhfp
# repo=fedora-28&arch=i386
# repo=fedora-28&arch=ppc64
# repo=fedora-28&arch=ppc64le
# repo=fedora-28&arch=s390x
# repo=fedora-28&arch=x86_64
# repo=fedora-7&arch=i386
# repo=fedora-7&arch=ppc
# repo=fedora-7&arch=ppc64
# repo=fedora-7&arch=x86_64
# repo=fedora-8&arch=i386
# repo=fedora-8&arch=ppc
# repo=fedora-8&arch=ppc64
# repo=fedora-8&arch=x86_64
# repo=fedora-9&arch=i386
# repo=fedora-9&arch=ppc
# repo=fedora-9&arch=ppc64
# repo=fedora-9&arch=x86_64
# repo=fedora-cloud-21&arch=armhfp
# repo=fedora-cloud-21&arch=i386
# repo=fedora-cloud-21&arch=x86_64
# repo=fedora-debug-10&arch=i386
# repo=fedora-debug-10&arch=ppc
# repo=fedora-debug-10&arch=ppc64
# repo=fedora-debug-10&arch=x86_64
# repo=fedora-debug-11&arch=i386
# repo=fedora-debug-11&arch=ppc
# repo=fedora-debug-11&arch=ppc64
# repo=fedora-debug-11&arch=x86_64
# repo=fedora-debug-12&arch=i386
# repo=fedora-debug-12&arch=ppc
# repo=fedora-debug-12&arch=ppc64
# repo=fedora-debug-12&arch=x86_64
# repo=fedora-debug-13&arch=arm
# repo=fedora-debug-13&arch=i386
# repo=fedora-debug-13&arch=x86_64
# repo=fedora-debug-14&arch=arm
# repo=fedora-debug-14&arch=i386
# repo=fedora-debug-14&arch=x86_64
# repo=fedora-debug-15&arch=arm
# repo=fedora-debug-15&arch=armhfp
# repo=fedora-debug-15&arch=i386
# repo=fedora-debug-15&arch=ppc
# repo=fedora-debug-15&arch=ppc64
# repo=fedora-debug-15&arch=s390
# repo=fedora-debug-15&arch=s390x
# repo=fedora-debug-15&arch=x86_64
# repo=fedora-debug-16&arch=i386
# repo=fedora-debug-16&arch=s390
# repo=fedora-debug-16&arch=s390x
# repo=fedora-debug-16&arch=x86_64
# repo=fedora-debug-17&arch=i386
# repo=fedora-debug-17&arch=x86_64
# repo=fedora-debug-18&arch=i386
# repo=fedora-debug-18&arch=x86_64
# repo=fedora-debug-19&arch=i386
# repo=fedora-debug-19&arch=x86_64
# repo=fedora-debug-20&arch=armhfp
# repo=fedora-debug-20&arch=i386
# repo=fedora-debug-20&arch=ppc
# repo=fedora-debug-20&arch=ppc64
# repo=fedora-debug-20&arch=s390
# repo=fedora-debug-20&arch=s390x
# repo=fedora-debug-20&arch=x86_64
# repo=fedora-debug-21&arch=aarch64
# repo=fedora-debug-21&arch=armhfp
# repo=fedora-debug-21&arch=i386
# repo=fedora-debug-21&arch=ppc64
# repo=fedora-debug-21&arch=ppc64le
# repo=fedora-debug-21&arch=s390
# repo=fedora-debug-21&arch=s390x
# repo=fedora-debug-21&arch=x86_64
# repo=fedora-debug-22&arch=aarch64
# repo=fedora-debug-22&arch=armhfp
# repo=fedora-debug-22&arch=i386
# repo=fedora-debug-22&arch=ppc64
# repo=fedora-debug-22&arch=ppc64le
# repo=fedora-debug-22&arch=s390
# repo=fedora-debug-22&arch=s390x
# repo=fedora-debug-22&arch=x86_64
# repo=fedora-debug-23&arch=aarch64
# repo=fedora-debug-23&arch=armhfp
# repo=fedora-debug-23&arch=i386
# repo=fedora-debug-23&arch=ppc64
# repo=fedora-debug-23&arch=ppc64le
# repo=fedora-debug-23&arch=s390
# repo=fedora-debug-23&arch=s390x
# repo=fedora-debug-23&arch=x86_64
# repo=fedora-debug-24&arch=aarch64
# repo=fedora-debug-24&arch=armhfp
# repo=fedora-debug-24&arch=i386
# repo=fedora-debug-24&arch=ppc64
# repo=fedora-debug-24&arch=ppc64le
# repo=fedora-debug-24&arch=s390x
# repo=fedora-debug-24&arch=x86_64
# repo=fedora-debug-25&arch=aarch64
# repo=fedora-debug-25&arch=armhfp
# repo=fedora-debug-25&arch=i386
# repo=fedora-debug-25&arch=ppc64
# repo=fedora-debug-25&arch=ppc64le
# repo=fedora-debug-25&arch=s390x
# repo=fedora-debug-25&arch=x86_64
# repo=fedora-debug-26&arch=aarch64
# repo=fedora-debug-26&arch=armhfp
# repo=fedora-debug-26&arch=i386
# repo=fedora-debug-26&arch=ppc64
# repo=fedora-debug-26&arch=ppc64le
# repo=fedora-debug-26&arch=s390x
# repo=fedora-debug-26&arch=x86_64
# repo=fedora-debug-27&arch=aarch64
# repo=fedora-debug-27&arch=armhfp
# repo=fedora-debug-27&arch=i386
# repo=fedora-debug-27&arch=ppc64
# repo=fedora-debug-27&arch=ppc64le
# repo=fedora-debug-27&arch=s390x
# repo=fedora-debug-27&arch=x86_64
# repo=fedora-debug-28&arch=aarch64
# repo=fedora-debug-28&arch=armhfp
# repo=fedora-debug-28&arch=i386
# repo=fedora-debug-28&arch=ppc64
# repo=fedora-debug-28&arch=ppc64le
# repo=fedora-debug-28&arch=s390x
# repo=fedora-debug-28&arch=x86_64
# repo=fedora-debug-7&arch=i386
# repo=fedora-debug-7&arch=ppc
# repo=fedora-debug-7&arch=ppc64
# repo=fedora-debug-7&arch=x86_64
# repo=fedora-debug-8&arch=i386
# repo=fedora-debug-8&arch=ppc
# repo=fedora-debug-8&arch=ppc64
# repo=fedora-debug-8&arch=x86_64
# repo=fedora-debug-9&arch=i386
# repo=fedora-debug-9&arch=ppc
# repo=fedora-debug-9&arch=ppc64
# repo=fedora-debug-9&arch=x86_64
# repo=fedora-install-12&arch=i386
# repo=fedora-install-12&arch=ppc
# repo=fedora-install-12&arch=x86_64
# repo=fedora-install-15&arch=s390x
# repo=fedora-install-16&arch=ppc
# repo=fedora-install-16&arch=ppc64
# repo=fedora-install-16&arch=s390x
# repo=fedora-install-17&arch=ppc
# repo=fedora-install-17&arch=ppc64
# repo=fedora-install-17&arch=s390x
# repo=fedora-install-18&arch=arm
# repo=fedora-install-18&arch=armhfp
# repo=fedora-install-18&arch=i386
# repo=fedora-install-18&arch=x86_64
# repo=fedora-install-19&arch=armhfp
# repo=fedora-install-19&arch=i386
# repo=fedora-install-19&arch=ppc64
# repo=fedora-install-19&arch=s390x
# repo=fedora-install-19&arch=x86_64
# repo=fedora-install-20&arch=armhfp
# repo=fedora-install-20&arch=i386
# repo=fedora-install-20&arch=ppc64
# repo=fedora-install-20&arch=s390x
# repo=fedora-install-20&arch=x86_64
# repo=fedora-install-21&arch=aarch64
# repo=fedora-install-21&arch=armhfp
# repo=fedora-install-21&arch=i386
# repo=fedora-install-21&arch=ppc64
# repo=fedora-install-21&arch=ppc64le
# repo=fedora-install-21&arch=s390x
# repo=fedora-install-21&arch=x86_64
# repo=fedora-install-22&arch=aarch64
# repo=fedora-install-22&arch=armhfp
# repo=fedora-install-22&arch=i386
# repo=fedora-install-22&arch=ppc64
# repo=fedora-install-22&arch=ppc64le
# repo=fedora-install-22&arch=x86_64
# repo=fedora-install-9&arch=ia64
# repo=fedora-modular-28&arch=aarch64
# repo=fedora-modular-28&arch=armhfp
# repo=fedora-modular-28&arch=i386
# repo=fedora-modular-28&arch=ppc64
# repo=fedora-modular-28&arch=ppc64le
# repo=fedora-modular-28&arch=s390x
# repo=fedora-modular-28&arch=x86_64
# repo=fedora-modular-debug-28&arch=aarch64
# repo=fedora-modular-debug-28&arch=armhfp
# repo=fedora-modular-debug-28&arch=i386
# repo=fedora-modular-debug-28&arch=ppc64
# repo=fedora-modular-debug-28&arch=ppc64le
# repo=fedora-modular-debug-28&arch=s390x
# repo=fedora-modular-debug-28&arch=x86_64
# repo=fedora-modular-source-28&arch=source
# repo=fedora-source-10&arch=source
# repo=fedora-source-11&arch=source
# repo=fedora-source-12&arch=source
# repo=fedora-source-13&arch=source
# repo=fedora-source-14&arch=source
# repo=fedora-source-15&arch=source
# repo=fedora-source-16&arch=source
# repo=fedora-source-17&arch=source
# repo=fedora-source-18&arch=source
# repo=fedora-source-19&arch=source
# repo=fedora-source-20&arch=source
# repo=fedora-source-21&arch=source
# repo=fedora-source-22&arch=source
# repo=fedora-source-23&arch=source
# repo=fedora-source-24&arch=source
# repo=fedora-source-25&arch=source
# repo=fedora-source-26&arch=source
# repo=fedora-source-27&arch=source
# repo=fedora-source-28&arch=source
# repo=fedora-source-7&arch=source
# repo=fedora-source-8&arch=source
# repo=fedora-source-9&arch=source
# repo=rawhide&arch=aarch64
# repo=rawhide&arch=armhfp
# repo=rawhide&arch=i386
# repo=rawhide&arch=ppc64
# repo=rawhide&arch=ppc64le
# repo=rawhide&arch=s390x
# repo=rawhide&arch=sparc
# repo=rawhide&arch=sparc64
# repo=rawhide&arch=x86_64
# repo=rawhide-debug&arch=aarch64
# repo=rawhide-debug&arch=armhfp
# repo=rawhide-debug&arch=i386
# repo=rawhide-debug&arch=ppc64
# repo=rawhide-debug&arch=ppc64le
# repo=rawhide-debug&arch=s390x
# repo=rawhide-debug&arch=sparc64
# repo=rawhide-debug&arch=x86_64
# repo=rawhide-modular&arch=aarch64
# repo=rawhide-modular&arch=armhfp
# repo=rawhide-modular&arch=i386
# repo=rawhide-modular&arch=ppc64
# repo=rawhide-modular&arch=ppc64le
# repo=rawhide-modular&arch=s390x
# repo=rawhide-modular&arch=x86_64
# repo=rawhide-modular-debug&arch=aarch64
# repo=rawhide-modular-debug&arch=armhfp
# repo=rawhide-modular-debug&arch=i386
# repo=rawhide-modular-debug&arch=ppc64
# repo=rawhide-modular-debug&arch=ppc64le
# repo=rawhide-modular-debug&arch=s390x
# repo=rawhide-modular-debug&arch=x86_64
# repo=rawhide-modular-source&arch=source
# repo=rawhide-source&arch=source
# repo=rhel-7&arch=ppc64
# repo=rhel-7&arch=s390x
# repo=rhel-7&arch=x86_64
# repo=rhel-7-beta&arch=ppc64
# repo=rhel-7-beta&arch=s390x
# repo=rhel-7-beta&arch=x86_64
# repo=rhel-7-highavailability&arch=source
# repo=rhel-7-highavailability&arch=x86_64
# repo=rhel-debug-7&arch=ppc64
# repo=rhel-debug-7&arch=s390x
# repo=rhel-debug-7&arch=x86_64
# repo=rhel-debug-7-beta&arch=ppc64
# repo=rhel-debug-7-beta&arch=s390x
# repo=rhel-debug-7-beta&arch=x86_64
# repo=rhel-optional-7&arch=ppc64
# repo=rhel-optional-7&arch=s390x
# repo=rhel-optional-7&arch=x86_64
# repo=rhel-optional-debug-7&arch=ppc64
# repo=rhel-optional-debug-7&arch=s390x
# repo=rhel-optional-debug-7&arch=x86_64
# repo=rhel-optional-source-7&arch=source
# repo=rhel-source-7&arch=source
# repo=rhel-source-7-beta&arch=source
# repo=testing-debug-epel4&arch=i386
# repo=testing-debug-epel4&arch=ppc
# repo=testing-debug-epel4&arch=x86_64
# repo=testing-debug-epel5&arch=i386
# repo=testing-debug-epel5&arch=ppc
# repo=testing-debug-epel5&arch=x86_64
# repo=testing-debug-epel6&arch=i386
# repo=testing-debug-epel6&arch=ppc64
# repo=testing-debug-epel6&arch=x86_64
# repo=testing-debug-epel7&arch=aarch64
# repo=testing-debug-epel7&arch=ppc64
# repo=testing-debug-epel7&arch=ppc64le
# repo=testing-debug-epel7&arch=x86_64
# repo=testing-epel4&arch=i386
# repo=testing-epel4&arch=ppc
# repo=testing-epel4&arch=x86_64
# repo=testing-epel5&arch=i386
# repo=testing-epel5&arch=ppc
# repo=testing-epel5&arch=x86_64
# repo=testing-epel6&arch=i386
# repo=testing-epel6&arch=ppc64
# repo=testing-epel6&arch=x86_64
# repo=testing-epel7&arch=aarch64
# repo=testing-epel7&arch=ppc64
# repo=testing-epel7&arch=ppc64le
# repo=testing-epel7&arch=x86_64
# repo=testing-source-epel4&arch=source
# repo=testing-source-epel5&arch=source
# repo=testing-source-epel6&arch=source
# repo=testing-source-epel7&arch=source
# repo=updates-released-debug-f10&arch=i386
# repo=updates-released-debug-f10&arch=ppc
# repo=updates-released-debug-f10&arch=ppc64
# repo=updates-released-debug-f10&arch=x86_64
# repo=updates-released-debug-f11&arch=i386
# repo=updates-released-debug-f11&arch=ppc
# repo=updates-released-debug-f11&arch=ppc64
# repo=updates-released-debug-f11&arch=x86_64
# repo=updates-released-debug-f12&arch=i386
# repo=updates-released-debug-f12&arch=ppc
# repo=updates-released-debug-f12&arch=ppc64
# repo=updates-released-debug-f12&arch=sparc
# repo=updates-released-debug-f12&arch=sparc64
# repo=updates-released-debug-f12&arch=x86_64
# repo=updates-released-debug-f13&arch=arm
# repo=updates-released-debug-f13&arch=i386
# repo=updates-released-debug-f13&arch=x86_64
# repo=updates-released-debug-f14&arch=arm
# repo=updates-released-debug-f14&arch=i386
# repo=updates-released-debug-f14&arch=x86_64
# repo=updates-released-debug-f15&arch=arm
# repo=updates-released-debug-f15&arch=armhfp
# repo=updates-released-debug-f15&arch=i386
# repo=updates-released-debug-f15&arch=s390
# repo=updates-released-debug-f15&arch=s390x
# repo=updates-released-debug-f15&arch=x86_64
# repo=updates-released-debug-f16&arch=arm
# repo=updates-released-debug-f16&arch=armhfp
# repo=updates-released-debug-f16&arch=i386
# repo=updates-released-debug-f16&arch=ppc
# repo=updates-released-debug-f16&arch=ppc64
# repo=updates-released-debug-f16&arch=s390
# repo=updates-released-debug-f16&arch=s390x
# repo=updates-released-debug-f16&arch=x86_64
# repo=updates-released-debug-f17&arch=arm
# repo=updates-released-debug-f17&arch=armhfp
# repo=updates-released-debug-f17&arch=i386
# repo=updates-released-debug-f17&arch=ppc
# repo=updates-released-debug-f17&arch=ppc64
# repo=updates-released-debug-f17&arch=s390
# repo=updates-released-debug-f17&arch=s390x
# repo=updates-released-debug-f17&arch=x86_64
# repo=updates-released-debug-f18&arch=arm
# repo=updates-released-debug-f18&arch=armhfp
# repo=updates-released-debug-f18&arch=i386
# repo=updates-released-debug-f18&arch=ppc
# repo=updates-released-debug-f18&arch=ppc64
# repo=updates-released-debug-f18&arch=s390
# repo=updates-released-debug-f18&arch=s390x
# repo=updates-released-debug-f18&arch=x86_64
# repo=updates-released-debug-f19&arch=armhfp
# repo=updates-released-debug-f19&arch=i386
# repo=updates-released-debug-f19&arch=ppc
# repo=updates-released-debug-f19&arch=ppc64
# repo=updates-released-debug-f19&arch=s390
# repo=updates-released-debug-f19&arch=s390x
# repo=updates-released-debug-f19&arch=x86_64
# repo=updates-released-debug-f20&arch=armhfp
# repo=updates-released-debug-f20&arch=i386
# repo=updates-released-debug-f20&arch=ppc
# repo=updates-released-debug-f20&arch=ppc64
# repo=updates-released-debug-f20&arch=s390
# repo=updates-released-debug-f20&arch=s390x
# repo=updates-released-debug-f20&arch=x86_64
# repo=updates-released-debug-f21&arch=aarch64
# repo=updates-released-debug-f21&arch=armhfp
# repo=updates-released-debug-f21&arch=i386
# repo=updates-released-debug-f21&arch=ppc64
# repo=updates-released-debug-f21&arch=ppc64le
# repo=updates-released-debug-f21&arch=s390
# repo=updates-released-debug-f21&arch=s390x
# repo=updates-released-debug-f21&arch=x86_64
# repo=updates-released-debug-f22&arch=aarch64
# repo=updates-released-debug-f22&arch=armhfp
# repo=updates-released-debug-f22&arch=i386
# repo=updates-released-debug-f22&arch=ppc64
# repo=updates-released-debug-f22&arch=ppc64le
# repo=updates-released-debug-f22&arch=s390
# repo=updates-released-debug-f22&arch=s390x
# repo=updates-released-debug-f22&arch=x86_64
# repo=updates-released-debug-f23&arch=aarch64
# repo=updates-released-debug-f23&arch=armhfp
# repo=updates-released-debug-f23&arch=i386
# repo=updates-released-debug-f23&arch=ppc64
# repo=updates-released-debug-f23&arch=ppc64le
# repo=updates-released-debug-f23&arch=s390
# repo=updates-released-debug-f23&arch=s390x
# repo=updates-released-debug-f23&arch=x86_64
# repo=updates-released-debug-f24&arch=aarch64
# repo=updates-released-debug-f24&arch=armhfp
# repo=updates-released-debug-f24&arch=i386
# repo=updates-released-debug-f24&arch=ppc64
# repo=updates-released-debug-f24&arch=ppc64le
# repo=updates-released-debug-f24&arch=s390x
# repo=updates-released-debug-f24&arch=x86_64
# repo=updates-released-debug-f25&arch=aarch64
# repo=updates-released-debug-f25&arch=armhfp
# repo=updates-released-debug-f25&arch=i386
# repo=updates-released-debug-f25&arch=ppc64
# repo=updates-released-debug-f25&arch=ppc64le
# repo=updates-released-debug-f25&arch=s390x
# repo=updates-released-debug-f25&arch=x86_64
# repo=updates-released-debug-f26&arch=aarch64
# repo=updates-released-debug-f26&arch=armhfp
# repo=updates-released-debug-f26&arch=i386
# repo=updates-released-debug-f26&arch=ppc64
# repo=updates-released-debug-f26&arch=ppc64le
# repo=updates-released-debug-f26&arch=s390x
# repo=updates-released-debug-f26&arch=x86_64
# repo=updates-released-debug-f27&arch=aarch64
# repo=updates-released-debug-f27&arch=armhfp
# repo=updates-released-debug-f27&arch=i386
# repo=updates-released-debug-f27&arch=ppc64
# repo=updates-released-debug-f27&arch=ppc64le
# repo=updates-released-debug-f27&arch=s390x
# repo=updates-released-debug-f27&arch=x86_64
# repo=updates-released-debug-f28&arch=aarch64
# repo=updates-released-debug-f28&arch=armhfp
# repo=updates-released-debug-f28&arch=i386
# repo=updates-released-debug-f28&arch=ppc64
# repo=updates-released-debug-f28&arch=s390x
# repo=updates-released-debug-f28&arch=x86_64
# repo=updates-released-debug-f4&arch=i386
# repo=updates-released-debug-f4&arch=ppc
# repo=updates-released-debug-f4&arch=x86_64
# repo=updates-released-debug-f5&arch=i386
# repo=updates-released-debug-f5&arch=ppc
# repo=updates-released-debug-f5&arch=x86_64
# repo=updates-released-debug-f6&arch=i386
# repo=updates-released-debug-f6&arch=ppc
# repo=updates-released-debug-f6&arch=x86_64
# repo=updates-released-debug-f7&arch=i386
# repo=updates-released-debug-f7&arch=ppc
# repo=updates-released-debug-f7&arch=ppc64
# repo=updates-released-debug-f7&arch=x86_64
# repo=updates-released-debug-f8&arch=i386
# repo=updates-released-debug-f8&arch=ppc
# repo=updates-released-debug-f8&arch=ppc64
# repo=updates-released-debug-f8&arch=x86_64
# repo=updates-released-debug-f8.newkey&arch=i386
# repo=updates-released-debug-f8.newkey&arch=ppc
# repo=updates-released-debug-f8.newkey&arch=ppc64
# repo=updates-released-debug-f8.newkey&arch=x86_64
# repo=updates-released-debug-f9&arch=i386
# repo=updates-released-debug-f9&arch=ppc
# repo=updates-released-debug-f9&arch=ppc64
# repo=updates-released-debug-f9&arch=x86_64
# repo=updates-released-debug-f9.newkey&arch=i386
# repo=updates-released-debug-f9.newkey&arch=ppc
# repo=updates-released-debug-f9.newkey&arch=ppc64
# repo=updates-released-debug-f9.newkey&arch=x86_64
# repo=updates-released-debug-fc4&arch=i386
# repo=updates-released-debug-fc4&arch=ppc
# repo=updates-released-debug-fc4&arch=x86_64
# repo=updates-released-debug-fc5&arch=i386
# repo=updates-released-debug-fc5&arch=ppc
# repo=updates-released-debug-fc5&arch=x86_64
# repo=updates-released-debug-fc6&arch=i386
# repo=updates-released-debug-fc6&arch=ppc
# repo=updates-released-debug-fc6&arch=x86_64
# repo=updates-released-f10&arch=i386
# repo=updates-released-f10&arch=ppc
# repo=updates-released-f10&arch=ppc64
# repo=updates-released-f10&arch=x86_64
# repo=updates-released-f11&arch=i386
# repo=updates-released-f11&arch=ppc
# repo=updates-released-f11&arch=ppc64
# repo=updates-released-f11&arch=x86_64
# repo=updates-released-f12&arch=i386
# repo=updates-released-f12&arch=ppc
# repo=updates-released-f12&arch=ppc64
# repo=updates-released-f12&arch=sparc
# repo=updates-released-f12&arch=sparc64
# repo=updates-released-f12&arch=x86_64
# repo=updates-released-f13&arch=arm
# repo=updates-released-f13&arch=i386
# repo=updates-released-f13&arch=x86_64
# repo=updates-released-f14&arch=arm
# repo=updates-released-f14&arch=i386
# repo=updates-released-f14&arch=x86_64
# repo=updates-released-f15&arch=arm
# repo=updates-released-f15&arch=armhfp
# repo=updates-released-f15&arch=i386
# repo=updates-released-f15&arch=ppc
# repo=updates-released-f15&arch=ppc64
# repo=updates-released-f15&arch=s390
# repo=updates-released-f15&arch=s390x
# repo=updates-released-f15&arch=x86_64
# repo=updates-released-f16&arch=arm
# repo=updates-released-f16&arch=armhfp
# repo=updates-released-f16&arch=i386
# repo=updates-released-f16&arch=ppc
# repo=updates-released-f16&arch=ppc64
# repo=updates-released-f16&arch=s390
# repo=updates-released-f16&arch=s390x
# repo=updates-released-f16&arch=x86_64
# repo=updates-released-f17&arch=arm
# repo=updates-released-f17&arch=armhfp
# repo=updates-released-f17&arch=i386
# repo=updates-released-f17&arch=ppc
# repo=updates-released-f17&arch=ppc64
# repo=updates-released-f17&arch=s390
# repo=updates-released-f17&arch=s390x
# repo=updates-released-f17&arch=x86_64
# repo=updates-released-f18&arch=arm
# repo=updates-released-f18&arch=armhfp
# repo=updates-released-f18&arch=i386
# repo=updates-released-f18&arch=ppc
# repo=updates-released-f18&arch=ppc64
# repo=updates-released-f18&arch=s390
# repo=updates-released-f18&arch=s390x
# repo=updates-released-f18&arch=x86_64
# repo=updates-released-f19&arch=armhfp
# repo=updates-released-f19&arch=i386
# repo=updates-released-f19&arch=ppc
# repo=updates-released-f19&arch=ppc64
# repo=updates-released-f19&arch=s390
# repo=updates-released-f19&arch=s390x
# repo=updates-released-f19&arch=x86_64
# repo=updates-released-f2&arch=i386
# repo=updates-released-f2&arch=x86_64
# repo=updates-released-f20&arch=armhfp
# repo=updates-released-f20&arch=i386
# repo=updates-released-f20&arch=ppc
# repo=updates-released-f20&arch=ppc64
# repo=updates-released-f20&arch=s390
# repo=updates-released-f20&arch=s390x
# repo=updates-released-f20&arch=x86_64
# repo=updates-released-f21&arch=aarch64
# repo=updates-released-f21&arch=armhfp
# repo=updates-released-f21&arch=i386
# repo=updates-released-f21&arch=ppc64
# repo=updates-released-f21&arch=ppc64le
# repo=updates-released-f21&arch=s390
# repo=updates-released-f21&arch=s390x
# repo=updates-released-f21&arch=x86_64
# repo=updates-released-f22&arch=aarch64
# repo=updates-released-f22&arch=armhfp
# repo=updates-released-f22&arch=i386
# repo=updates-released-f22&arch=ppc64
# repo=updates-released-f22&arch=ppc64le
# repo=updates-released-f22&arch=s390
# repo=updates-released-f22&arch=s390x
# repo=updates-released-f22&arch=x86_64
# repo=updates-released-f23&arch=aarch64
# repo=updates-released-f23&arch=armhfp
# repo=updates-released-f23&arch=i386
# repo=updates-released-f23&arch=ppc64
# repo=updates-released-f23&arch=ppc64le
# repo=updates-released-f23&arch=s390
# repo=updates-released-f23&arch=s390x
# repo=updates-released-f23&arch=x86_64
# repo=updates-released-f24&arch=aarch64
# repo=updates-released-f24&arch=armhfp
# repo=updates-released-f24&arch=i386
# repo=updates-released-f24&arch=ppc64
# repo=updates-released-f24&arch=ppc64le
# repo=updates-released-f24&arch=s390
# repo=updates-released-f24&arch=s390x
# repo=updates-released-f24&arch=x86_64
# repo=updates-released-f25&arch=aarch64
# repo=updates-released-f25&arch=armhfp
# repo=updates-released-f25&arch=i386
# repo=updates-released-f25&arch=ppc64
# repo=updates-released-f25&arch=ppc64le
# repo=updates-released-f25&arch=s390x
# repo=updates-released-f25&arch=x86_64
# repo=updates-released-f26&arch=aarch64
# repo=updates-released-f26&arch=armhfp
# repo=updates-released-f26&arch=i386
# repo=updates-released-f26&arch=ppc64
# repo=updates-released-f26&arch=ppc64le
# repo=updates-released-f26&arch=s390x
# repo=updates-released-f26&arch=x86_64
# repo=updates-released-f27&arch=aarch64
# repo=updates-released-f27&arch=armhfp
# repo=updates-released-f27&arch=i386
# repo=updates-released-f27&arch=ppc64
# repo=updates-released-f27&arch=ppc64le
# repo=updates-released-f27&arch=s390x
# repo=updates-released-f27&arch=x86_64
# repo=updates-released-f28&arch=aarch64
# repo=updates-released-f28&arch=armhfp
# repo=updates-released-f28&arch=i386
# repo=updates-released-f28&arch=ppc64
# repo=updates-released-f28&arch=ppc64le
# repo=updates-released-f28&arch=s390x
# repo=updates-released-f28&arch=x86_64
# repo=updates-released-f3&arch=i386
# repo=updates-released-f3&arch=x86_64
# repo=updates-released-f4&arch=i386
# repo=updates-released-f4&arch=ppc
# repo=updates-released-f4&arch=x86_64
# repo=updates-released-f5&arch=i386
# repo=updates-released-f5&arch=ppc
# repo=updates-released-f5&arch=x86_64
# repo=updates-released-f6&arch=i386
# repo=updates-released-f6&arch=ppc
# repo=updates-released-f6&arch=x86_64
# repo=updates-released-f7&arch=i386
# repo=updates-released-f7&arch=ppc
# repo=updates-released-f7&arch=ppc64
# repo=updates-released-f7&arch=x86_64
# repo=updates-released-f8&arch=i386
# repo=updates-released-f8&arch=ppc
# repo=updates-released-f8&arch=ppc64
# repo=updates-released-f8&arch=x86_64
# repo=updates-released-f8.newkey&arch=i386
# repo=updates-released-f8.newkey&arch=ppc
# repo=updates-released-f8.newkey&arch=ppc64
# repo=updates-released-f8.newkey&arch=x86_64
# repo=updates-released-f9&arch=i386
# repo=updates-released-f9&arch=ppc
# repo=updates-released-f9&arch=ppc64
# repo=updates-released-f9&arch=x86_64
# repo=updates-released-f9.newkey&arch=i386
# repo=updates-released-f9.newkey&arch=ppc
# repo=updates-released-f9.newkey&arch=ppc64
# repo=updates-released-f9.newkey&arch=x86_64
# repo=updates-released-fc2&arch=i386
# repo=updates-released-fc2&arch=x86_64
# repo=updates-released-fc3&arch=i386
# repo=updates-released-fc3&arch=x86_64
# repo=updates-released-fc4&arch=i386
# repo=updates-released-fc4&arch=ppc
# repo=updates-released-fc4&arch=x86_64
# repo=updates-released-fc5&arch=i386
# repo=updates-released-fc5&arch=ppc
# repo=updates-released-fc5&arch=x86_64
# repo=updates-released-fc6&arch=i386
# repo=updates-released-fc6&arch=ppc
# repo=updates-released-fc6&arch=x86_64
# repo=updates-released-modular-debug-f28&arch=aarch64
# repo=updates-released-modular-debug-f28&arch=armhfp
# repo=updates-released-modular-debug-f28&arch=i386
# repo=updates-released-modular-debug-f28&arch=ppc64
# repo=updates-released-modular-debug-f28&arch=ppc64le
# repo=updates-released-modular-debug-f28&arch=s390x
# repo=updates-released-modular-debug-f28&arch=x86_64
# repo=updates-released-modular-f28&arch=aarch64
# repo=updates-released-modular-f28&arch=armhfp
# repo=updates-released-modular-f28&arch=i386
# repo=updates-released-modular-f28&arch=ppc64
# repo=updates-released-modular-f28&arch=ppc64le
# repo=updates-released-modular-f28&arch=s390x
# repo=updates-released-modular-f28&arch=x86_64
# repo=updates-released-modular-source-f28&arch=source
# repo=updates-released-source-f10&arch=source
# repo=updates-released-source-f11&arch=source
# repo=updates-released-source-f12&arch=source
# repo=updates-released-source-f13&arch=source
# repo=updates-released-source-f14&arch=source
# repo=updates-released-source-f15&arch=source
# repo=updates-released-source-f16&arch=source
# repo=updates-released-source-f17&arch=source
# repo=updates-released-source-f18&arch=source
# repo=updates-released-source-f19&arch=source
# repo=updates-released-source-f20&arch=source
# repo=updates-released-source-f21&arch=source
# repo=updates-released-source-f22&arch=source
# repo=updates-released-source-f23&arch=source
# repo=updates-released-source-f24&arch=source
# repo=updates-released-source-f25&arch=source
# repo=updates-released-source-f26&arch=source
# repo=updates-released-source-f27&arch=source
# repo=updates-released-source-f28&arch=source
# repo=updates-released-source-f4&arch=source
# repo=updates-released-source-f5&arch=source
# repo=updates-released-source-f6&arch=source
# repo=updates-released-source-f7&arch=source
# repo=updates-released-source-f8&arch=source
# repo=updates-released-source-f8.newkey&arch=source
# repo=updates-released-source-f9&arch=source
# repo=updates-released-source-f9.newkey&arch=source
# repo=updates-released-source-fc4&arch=source
# repo=updates-released-source-fc5&arch=source
# repo=updates-released-source-fc6&arch=source
# repo=updates-testing-debug-f10&arch=i386
# repo=updates-testing-debug-f10&arch=ppc
# repo=updates-testing-debug-f10&arch=ppc64
# repo=updates-testing-debug-f10&arch=x86_64
# repo=updates-testing-debug-f11&arch=i386
# repo=updates-testing-debug-f11&arch=ppc
# repo=updates-testing-debug-f11&arch=ppc64
# repo=updates-testing-debug-f11&arch=x86_64
# repo=updates-testing-debug-f12&arch=i386
# repo=updates-testing-debug-f12&arch=ppc
# repo=updates-testing-debug-f12&arch=ppc64
# repo=updates-testing-debug-f12&arch=x86_64
# repo=updates-testing-debug-f13&arch=i386
# repo=updates-testing-debug-f13&arch=x86_64
# repo=updates-testing-debug-f14&arch=i386
# repo=updates-testing-debug-f14&arch=x86_64
# repo=updates-testing-debug-f15&arch=i386
# repo=updates-testing-debug-f15&arch=x86_64
# repo=updates-testing-debug-f16&arch=i386
# repo=updates-testing-debug-f16&arch=x86_64
# repo=updates-testing-debug-f17&arch=i386
# repo=updates-testing-debug-f17&arch=x86_64
# repo=updates-testing-debug-f18&arch=i386
# repo=updates-testing-debug-f18&arch=x86_64
# repo=updates-testing-debug-f19&arch=i386
# repo=updates-testing-debug-f19&arch=x86_64
# repo=updates-testing-debug-f20&arch=armhfp
# repo=updates-testing-debug-f20&arch=i386
# repo=updates-testing-debug-f20&arch=x86_64
# repo=updates-testing-debug-f21&arch=armhfp
# repo=updates-testing-debug-f21&arch=i386
# repo=updates-testing-debug-f21&arch=x86_64
# repo=updates-testing-debug-f22&arch=aarch64
# repo=updates-testing-debug-f22&arch=armhfp
# repo=updates-testing-debug-f22&arch=i386
# repo=updates-testing-debug-f22&arch=ppc64
# repo=updates-testing-debug-f22&arch=ppc64le
# repo=updates-testing-debug-f22&arch=s390
# repo=updates-testing-debug-f22&arch=s390x
# repo=updates-testing-debug-f22&arch=x86_64
# repo=updates-testing-debug-f23&arch=aarch64
# repo=updates-testing-debug-f23&arch=armhfp
# repo=updates-testing-debug-f23&arch=i386
# repo=updates-testing-debug-f23&arch=ppc64
# repo=updates-testing-debug-f23&arch=ppc64le
# repo=updates-testing-debug-f23&arch=s390
# repo=updates-testing-debug-f23&arch=s390x
# repo=updates-testing-debug-f23&arch=x86_64
# repo=updates-testing-debug-f24&arch=aarch64
# repo=updates-testing-debug-f24&arch=armhfp
# repo=updates-testing-debug-f24&arch=i386
# repo=updates-testing-debug-f24&arch=ppc64
# repo=updates-testing-debug-f24&arch=ppc64le
# repo=updates-testing-debug-f24&arch=s390x
# repo=updates-testing-debug-f24&arch=x86_64
# repo=updates-testing-debug-f25&arch=aarch64
# repo=updates-testing-debug-f25&arch=armhfp
# repo=updates-testing-debug-f25&arch=i386
# repo=updates-testing-debug-f25&arch=ppc64
# repo=updates-testing-debug-f25&arch=ppc64le
# repo=updates-testing-debug-f25&arch=s390x
# repo=updates-testing-debug-f25&arch=x86_64
# repo=updates-testing-debug-f26&arch=aarch64
# repo=updates-testing-debug-f26&arch=armhfp
# repo=updates-testing-debug-f26&arch=i386
# repo=updates-testing-debug-f26&arch=ppc64
# repo=updates-testing-debug-f26&arch=ppc64le
# repo=updates-testing-debug-f26&arch=s390x
# repo=updates-testing-debug-f26&arch=x86_64
# repo=updates-testing-debug-f27&arch=aarch64
# repo=updates-testing-debug-f27&arch=armhfp
# repo=updates-testing-debug-f27&arch=i386
# repo=updates-testing-debug-f27&arch=ppc64
# repo=updates-testing-debug-f27&arch=ppc64le
# repo=updates-testing-debug-f27&arch=s390x
# repo=updates-testing-debug-f27&arch=x86_64
# repo=updates-testing-debug-f28&arch=aarch64
# repo=updates-testing-debug-f28&arch=armhfp
# repo=updates-testing-debug-f28&arch=i386
# repo=updates-testing-debug-f28&arch=ppc64
# repo=updates-testing-debug-f28&arch=s390x
# repo=updates-testing-debug-f28&arch=x86_64
# repo=updates-testing-debug-f4&arch=i386
# repo=updates-testing-debug-f4&arch=ppc
# repo=updates-testing-debug-f4&arch=x86_64
# repo=updates-testing-debug-f5&arch=i386
# repo=updates-testing-debug-f5&arch=ppc
# repo=updates-testing-debug-f5&arch=x86_64
# repo=updates-testing-debug-f6&arch=i386
# repo=updates-testing-debug-f6&arch=ppc
# repo=updates-testing-debug-f6&arch=x86_64
# repo=updates-testing-debug-f7&arch=i386
# repo=updates-testing-debug-f7&arch=ppc
# repo=updates-testing-debug-f7&arch=ppc64
# repo=updates-testing-debug-f7&arch=x86_64
# repo=updates-testing-debug-f8&arch=i386
# repo=updates-testing-debug-f8&arch=ppc
# repo=updates-testing-debug-f8&arch=ppc64
# repo=updates-testing-debug-f8&arch=x86_64
# repo=updates-testing-debug-f8.newkey&arch=i386
# repo=updates-testing-debug-f8.newkey&arch=ppc
# repo=updates-testing-debug-f8.newkey&arch=ppc64
# repo=updates-testing-debug-f8.newkey&arch=x86_64
# repo=updates-testing-debug-f9&arch=i386
# repo=updates-testing-debug-f9&arch=ppc
# repo=updates-testing-debug-f9&arch=ppc64
# repo=updates-testing-debug-f9&arch=x86_64
# repo=updates-testing-debug-f9.newkey&arch=i386
# repo=updates-testing-debug-f9.newkey&arch=ppc
# repo=updates-testing-debug-f9.newkey&arch=ppc64
# repo=updates-testing-debug-f9.newkey&arch=x86_64
# repo=updates-testing-debug-fc4&arch=i386
# repo=updates-testing-debug-fc4&arch=ppc
# repo=updates-testing-debug-fc4&arch=x86_64
# repo=updates-testing-debug-fc5&arch=i386
# repo=updates-testing-debug-fc5&arch=ppc
# repo=updates-testing-debug-fc5&arch=x86_64
# repo=updates-testing-debug-fc6&arch=i386
# repo=updates-testing-debug-fc6&arch=ppc
# repo=updates-testing-debug-fc6&arch=x86_64
# repo=updates-testing-f10&arch=i386
# repo=updates-testing-f10&arch=ppc
# repo=updates-testing-f10&arch=ppc64
# repo=updates-testing-f10&arch=x86_64
# repo=updates-testing-f11&arch=i386
# repo=updates-testing-f11&arch=ppc
# repo=updates-testing-f11&arch=ppc64
# repo=updates-testing-f11&arch=x86_64
# repo=updates-testing-f12&arch=i386
# repo=updates-testing-f12&arch=ppc
# repo=updates-testing-f12&arch=ppc64
# repo=updates-testing-f12&arch=sparc
# repo=updates-testing-f12&arch=sparc64
# repo=updates-testing-f12&arch=x86_64
# repo=updates-testing-f13&arch=i386
# repo=updates-testing-f13&arch=x86_64
# repo=updates-testing-f14&arch=i386
# repo=updates-testing-f14&arch=x86_64
# repo=updates-testing-f15&arch=i386
# repo=updates-testing-f15&arch=x86_64
# repo=updates-testing-f16&arch=i386
# repo=updates-testing-f16&arch=x86_64
# repo=updates-testing-f17&arch=i386
# repo=updates-testing-f17&arch=x86_64
# repo=updates-testing-f18&arch=i386
# repo=updates-testing-f18&arch=x86_64
# repo=updates-testing-f19&arch=i386
# repo=updates-testing-f19&arch=x86_64
# repo=updates-testing-f2&arch=i386
# repo=updates-testing-f2&arch=x86_64
# repo=updates-testing-f20&arch=armhfp
# repo=updates-testing-f20&arch=i386
# repo=updates-testing-f20&arch=x86_64
# repo=updates-testing-f21&arch=armhfp
# repo=updates-testing-f21&arch=i386
# repo=updates-testing-f21&arch=x86_64
# repo=updates-testing-f22&arch=aarch64
# repo=updates-testing-f22&arch=armhfp
# repo=updates-testing-f22&arch=i386
# repo=updates-testing-f22&arch=ppc64
# repo=updates-testing-f22&arch=ppc64le
# repo=updates-testing-f22&arch=s390
# repo=updates-testing-f22&arch=s390x
# repo=updates-testing-f22&arch=x86_64
# repo=updates-testing-f23&arch=aarch64
# repo=updates-testing-f23&arch=armhfp
# repo=updates-testing-f23&arch=i386
# repo=updates-testing-f23&arch=ppc64
# repo=updates-testing-f23&arch=ppc64le
# repo=updates-testing-f23&arch=s390
# repo=updates-testing-f23&arch=s390x
# repo=updates-testing-f23&arch=x86_64
# repo=updates-testing-f24&arch=aarch64
# repo=updates-testing-f24&arch=armhfp
# repo=updates-testing-f24&arch=i386
# repo=updates-testing-f24&arch=ppc64
# repo=updates-testing-f24&arch=ppc64le
# repo=updates-testing-f24&arch=s390
# repo=updates-testing-f24&arch=s390x
# repo=updates-testing-f24&arch=x86_64
# repo=updates-testing-f25&arch=aarch64
# repo=updates-testing-f25&arch=armhfp
# repo=updates-testing-f25&arch=i386
# repo=updates-testing-f25&arch=ppc64
# repo=updates-testing-f25&arch=ppc64le
# repo=updates-testing-f25&arch=s390x
# repo=updates-testing-f25&arch=x86_64
# repo=updates-testing-f26&arch=aarch64
# repo=updates-testing-f26&arch=armhfp
# repo=updates-testing-f26&arch=i386
# repo=updates-testing-f26&arch=ppc64
# repo=updates-testing-f26&arch=ppc64le
# repo=updates-testing-f26&arch=s390x
# repo=updates-testing-f26&arch=x86_64
# repo=updates-testing-f27&arch=aarch64
# repo=updates-testing-f27&arch=armhfp
# repo=updates-testing-f27&arch=i386
# repo=updates-testing-f27&arch=ppc64
# repo=updates-testing-f27&arch=ppc64le
# repo=updates-testing-f27&arch=s390x
# repo=updates-testing-f27&arch=x86_64
# repo=updates-testing-f28&arch=aarch64
# repo=updates-testing-f28&arch=armhfp
# repo=updates-testing-f28&arch=i386
# repo=updates-testing-f28&arch=ppc64
# repo=updates-testing-f28&arch=ppc64le
# repo=updates-testing-f28&arch=s390x
# repo=updates-testing-f28&arch=x86_64
# repo=updates-testing-f3&arch=i386
# repo=updates-testing-f3&arch=x86_64
# repo=updates-testing-f4&arch=i386
# repo=updates-testing-f4&arch=ppc
# repo=updates-testing-f4&arch=x86_64
# repo=updates-testing-f5&arch=i386
# repo=updates-testing-f5&arch=ppc
# repo=updates-testing-f5&arch=x86_64
# repo=updates-testing-f6&arch=i386
# repo=updates-testing-f6&arch=ppc
# repo=updates-testing-f6&arch=x86_64
# repo=updates-testing-f7&arch=i386
# repo=updates-testing-f7&arch=ppc
# repo=updates-testing-f7&arch=ppc64
# repo=updates-testing-f7&arch=x86_64
# repo=updates-testing-f8&arch=i386
# repo=updates-testing-f8&arch=ppc
# repo=updates-testing-f8&arch=ppc64
# repo=updates-testing-f8&arch=x86_64
# repo=updates-testing-f8.newkey&arch=i386
# repo=updates-testing-f8.newkey&arch=ppc
# repo=updates-testing-f8.newkey&arch=ppc64
# repo=updates-testing-f8.newkey&arch=x86_64
# repo=updates-testing-f9&arch=i386
# repo=updates-testing-f9&arch=ppc
# repo=updates-testing-f9&arch=ppc64
# repo=updates-testing-f9&arch=x86_64
# repo=updates-testing-f9.newkey&arch=i386
# repo=updates-testing-f9.newkey&arch=ppc
# repo=updates-testing-f9.newkey&arch=ppc64
# repo=updates-testing-f9.newkey&arch=x86_64
# repo=updates-testing-fc2&arch=i386
# repo=updates-testing-fc2&arch=x86_64
# repo=updates-testing-fc3&arch=i386
# repo=updates-testing-fc3&arch=x86_64
# repo=updates-testing-fc4&arch=i386
# repo=updates-testing-fc4&arch=ppc
# repo=updates-testing-fc4&arch=x86_64
# repo=updates-testing-fc5&arch=i386
# repo=updates-testing-fc5&arch=ppc
# repo=updates-testing-fc5&arch=x86_64
# repo=updates-testing-fc6&arch=i386
# repo=updates-testing-fc6&arch=ppc
# repo=updates-testing-fc6&arch=x86_64
# repo=updates-testing-modular-debug-f28&arch=aarch64
# repo=updates-testing-modular-debug-f28&arch=armhfp
# repo=updates-testing-modular-debug-f28&arch=i386
# repo=updates-testing-modular-debug-f28&arch=ppc64
# repo=updates-testing-modular-debug-f28&arch=ppc64le
# repo=updates-testing-modular-debug-f28&arch=s390x
# repo=updates-testing-modular-debug-f28&arch=x86_64
# repo=updates-testing-modular-f28&arch=aarch64
# repo=updates-testing-modular-f28&arch=armhfp
# repo=updates-testing-modular-f28&arch=i386
# repo=updates-testing-modular-f28&arch=ppc64
# repo=updates-testing-modular-f28&arch=ppc64le
# repo=updates-testing-modular-f28&arch=s390x
# repo=updates-testing-modular-f28&arch=x86_64
# repo=updates-testing-modular-source-f28&arch=source
# repo=updates-testing-source-f10&arch=source
# repo=updates-testing-source-f11&arch=source
# repo=updates-testing-source-f12&arch=source
# repo=updates-testing-source-f13&arch=source
# repo=updates-testing-source-f14&arch=source
# repo=updates-testing-source-f15&arch=source
# repo=updates-testing-source-f16&arch=source
# repo=updates-testing-source-f17&arch=source
# repo=updates-testing-source-f18&arch=source
# repo=updates-testing-source-f19&arch=source
# repo=updates-testing-source-f20&arch=source
# repo=updates-testing-source-f21&arch=source
# repo=updates-testing-source-f22&arch=source
# repo=updates-testing-source-f23&arch=source
# repo=updates-testing-source-f24&arch=source
# repo=updates-testing-source-f25&arch=source
# repo=updates-testing-source-f26&arch=source
# repo=updates-testing-source-f27&arch=source
# repo=updates-testing-source-f28&arch=source
# repo=updates-testing-source-f4&arch=source
# repo=updates-testing-source-f5&arch=source
# repo=updates-testing-source-f6&arch=source
# repo=updates-testing-source-f7&arch=source
# repo=updates-testing-source-f8&arch=source
# repo=updates-testing-source-f8.newkey&arch=source
# repo=updates-testing-source-f9&arch=source
# repo=updates-testing-source-f9.newkey&arch=source
# repo=updates-testing-source-fc4&arch=source
# repo=updates-testing-source-fc5&arch=source
# repo=updates-testing-source-fc6&arch=source
找源码包
http://ftp.cuhk.edu.hk/pub/linux/fedora-archive/fedora/linux/releases/22/Everything/x86_64/os/
先进入镜像,再返回上级目录,一直向父目录走,直接到看到source目录。
e.g. 这次我要找openssh源码包
http://ftp.cuhk.edu.hk/pub/linux/fedora-archive/fedora/linux/releases/22/Everything/source/SRPMS/o/openssh-6.8p1-5.fc22.src.rpm
找到了
SecureCRT 设置
如果编译时,错误提示是乱码, 需要设置SecureCRT
* Options->Session Options->Appearance->Character encoding:UTF-8
下载源码
wget http://ftp.cuhk.edu.hk/pub/linux/fedora-archive/fedora/linux/releases/22/Everything/source/SRPMS/o/openssh-6.8p1-5.fc22.src.rpm
安装源码包
rpm -ivh ./openssh-6.8p1-5.fc22.src.rpm
源码安装后的目录
[root@localhost /]# echo ~/rpmbuild/
/root/rpmbuild/
cd /root/rpmbuild/SPECS
[root@localhost SPECS]# pwd
/root/rpmbuild/SPECS
[root@localhost SPECS]# ls -l
total 92
-rw-r--r--. 1 root root 94133 Apr 20 2015 openssh.spec
添加源
dnf repolist
ls /etc/yum.repos.d
dnf update
可以仿照 /etc/yum.repos.d下源列表文件,自己加源。
或者可以直接将镜像中的rpm下载下来用 rpm -ivh xx.rpm 安装
安装rmprebuild
如果运行rpmbuild命令没有,先装一个
yum install yum-utils rpm-build
准备源码
rpmbuild -bp openssh.spec
error: Failed build dependencies:
audit-libs-devel >= 2.0.5 is needed by openssh-6.8p1-5.fc22.x86_64
autoconf is needed by openssh-6.8p1-5.fc22.x86_64
automake is needed by openssh-6.8p1-5.fc22.x86_64
fipscheck-devel >= 1.3.0 is needed by openssh-6.8p1-5.fc22.x86_64
groff is needed by openssh-6.8p1-5.fc22.x86_64
gtk2-devel is needed by openssh-6.8p1-5.fc22.x86_64
krb5-devel is needed by openssh-6.8p1-5.fc22.x86_64
libX11-devel is needed by openssh-6.8p1-5.fc22.x86_64
libedit-devel is needed by openssh-6.8p1-5.fc22.x86_64
libselinux-devel >= 2.3-5 is needed by openssh-6.8p1-5.fc22.x86_64
ncurses-devel is needed by openssh-6.8p1-5.fc22.x86_64
openldap-devel is needed by openssh-6.8p1-5.fc22.x86_64
openssl-devel >= 0.9.8j is needed by openssh-6.8p1-5.fc22.x86_64
pam-devel is needed by openssh-6.8p1-5.fc22.x86_64
tcp_wrappers-devel is needed by openssh-6.8p1-5.fc22.x86_64
xauth is needed by openssh-6.8p1-5.fc22.x86_64
zlib-devel is needed by openssh-6.8p1-5.fc22.x86_64
如果出现依赖报错,就装需要的依赖软件. 这些依赖软件不用源码编译了,装rpm就行。
dnf install audit-libs-devel autoconf automake fipscheck-devel groff gtk2-devel krb5-devel libX11-devel libedit-devel libselinux-devel ncurses-devel openldap-devel openssl-devel pam-devel tcp_wrappers-devel xauth zlib-devel
rpmbuild -bp openssh.spec
进入源码目录
如果源码安装正确,会出现在_topdir/BUILD目录中.
[root@localhost BUILD]# ls
openssh-6.8p1
[root@localhost BUILD]# pwd
/root/rpmbuild/BUILD
[root@localhost BUILD]#
进入源码目录,就可以编译工程了
[root@localhost openssh-6.8p1]# pwd
/root/rpmbuild/BUILD/openssh-6.8p1
./configure
make
make install
居然make时编译报错,说某个结构不存在某个成员. 这是啥情况?是对应的版本源码么?
试验目的(src.rpm to source)已经达到,安装后源码编译报错问题,稍后再研究。