-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When creating new fedorapeople yum repos, we should also include a link to the SRPM repo. - -- Stephen Gallagher RHCE 804006346421761 Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkxsJO8ACgkQeiVVYja6o6PvWACfSx3DllXDVPWhOV3QVfzIdCjt 6W0AoIorHe3BnpH5qGZYXc3T3ysAROVb =1w6l -----END PGP SIGNATURE-----
From cd9c720c2f9877335a621a0a94ae7e1d530ef70c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher <sgallagh@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> Date: Wed, 18 Aug 2010 15:50:26 +0000 Subject: [PATCH] Create SRPM repository entry in new_repo --- modules/scripts/files/new_repo | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/modules/scripts/files/new_repo b/modules/scripts/files/new_repo index 9bb4f2b0af2f9cda76cd2f0cc32c60bcd29fe521..da0175222a7ac33755f7a56ef3982a5eb2956d74 100755 --- a/modules/scripts/files/new_repo +++ b/modules/scripts/files/new_repo @@ -137,12 +137,20 @@ name=%(description)s baseurl=%(repo_base_url)s/%(group)s/%(repo_name)s/%(repo_type)s-$releasever/$basearch/ enabled=1 skip_if_unavailable=1 -gpgcheck=0''' % { 'repo_name' : repo_name, - 'repo_type' : repo_type, - 'description' : description, - 'group' : group, - 'repo_base_url': REPO_BASE_URL }) - file.close() +gpgcheck=0 + +[%(repo_type)s-%(repo_name)s-source] +name=%(description)s - Source +baseurl=%(repo_base_url)s/%(group)s/%(repo_name)s/%(repo_type)s-$releasever/SRPMS +enabled=0 +skip_if_unavailable=1 +gpgcheck=0 +''' % { 'repo_name' : repo_name, + 'repo_type' : repo_type, + 'description' : description, + 'group' : group, + 'repo_base_url': REPO_BASE_URL }) + file.close() if __name__ == '__main__': print print -- 1.5.5.6
Attachment:
0001-Create-SRPM-repository-entry-in-new_repo.patch.sig
Description: PGP signature
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/infrastructure