On Thu, 2012-02-02 at 09:59 -0700, Dmitry Makovey wrote:
On February 1, 2012 20:37:05 Dave Quigley wrote:
An easier way than extracting and patching by hand would be to do this
rpm -ihv <policy-source-rpm>.src.rpm cd ~/rpmbuild/SPECS rpmbuild -bp <SPECFILE> #build prep <bp>
ok, so it sounds like SRPM is the only way to get those... I'm familiar with those, just didn't want to 'build" hoped for something online/system-wide I can share with other sysadmins as a reference, oh well (yes I know I can make a copy system-wide, but there's a lot of "manual" in keeping it up-to-date ;) ... Now I have tried:
$ sudo yumdownloader --disableplugin=protectbase,cpacman_yum --source selinux- policy-3.7.19-93.el6_1.7 Loaded plugins: rhnplugin Enabling epel-source repository No source RPM found for selinux-policy-3.7.19-93.el6_1.7.noarch Nothing to download
same happens when I omit the version from the request. Does anybody know whether there is an "easy" way of doing it other than RHN/Google/RPMFind ? ( I do realize it's a question for a different ML, but just in case somebody has a "quick" answer handy ;)
ftp://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/selinux-policy-3.7.19-93.el6_1.7.src.rpm
Once you've done that the ~/rpmbuild/BUILD directory should contain directory with an extracted and patched tree based on the spec file name. Dave
-- selinux mailing list selinux@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/selinux