Let's say that I am using a program called hello which I have downloaded using the zypper. The question is how can I see if a specific .patch is included into this hello package?Basically, what I think it that I need the rpm source file (but how can I find it using zypper ?) and then do unrpm and check if the *.patch file is included. Is it correct or there's another way?
How can I list the patches of an installed package in SUSE?
rpm;suse;patch;zypper
You can download a src.rpm with zypper's source-install command.zypper si -D --download-only hello would download the .src.rpm ignoring any dependencies needed to build the package.You can find the .src.rpm at /var/cache/zypp/packages/repo/src/hello-version.src.rpm.You can then go through the normal process of extracting the package.% rpm2cpio /var/cache/zypp/packages/Virtualization/src/qemu-2.1.0-260.12.src.rpm | cpio -idmv0001-XXX-dont-dump-core-on-sigabort.patch0002-XXX-work-around-SA_RESTART-race-wit.patch0003-qemu-0.9.0.cvs-binfmt.patch0004-qemu-cvs-alsa_bitfield.patch<...>