ALT Linux Bugzilla
– Attachment 2863 Details for
Bug 16265
Поддержка нескольких репозитариев
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
arepo-second-source-and-libmesa-very-ugly.diff
arepo-second-source-and-libmesa-very-ugly.diff (text/plain), 1.55 KB, created by
Michael Shigorin
on 2008-08-30 10:32:17 MSD
(
hide
)
Description:
arepo-second-source-and-libmesa-very-ugly.diff
Filename:
MIME Type:
Creator:
Michael Shigorin
Created:
2008-08-30 10:32:17 MSD
Size:
1.55 KB
patch
obsolete
>--- /usr/bin/arepo 2008-02-11 17:30:59 +0200 >+++ ./arepo.py1 2008-08-30 00:33:32 +0300 >@@ -424,6 +424,12 @@ > def gen_spec(pkg, source, fl): > header = source.header_for(pkg) > >+ if '/usr/lib/libGL.so.1' in fl: >+ GL='libGL.so.1' >+ fl.remove('/usr/lib/libGL.so.1') >+ else: >+ GL='' >+ > return """# Autogenerated. You should not have seen it at all. > Name: ~(mangled-name)s > >@@ -488,6 +494,11 @@ > > echo 1 >"$file" > (/usr/lib/rpm/${0##*/}; echo $? >"$file") |fgrep -v GLIBC_PRIVATE ||: >+case ${0##*/} in >+ find-provides) >+ echo "~(provides)s" >+ ;; >+esac > exit "$(cat "$file")" > > EOF >@@ -520,6 +531,7 @@ > 'define-ext_epoch': header['epoch'] and > ('%%define ext_epoch %s' % header['epoch']) or '', > 'dep-list': auto_dep_list(header, source), >+ 'provides': GL, > }, > header, > HacksDict(hacks.get(pkg, {}))) >@@ -560,11 +572,14 @@ > read_config(args[0]) > > repo = Repo('Sisyphus', vars['origin'], vars['flavor']) >+ repo2 = Repo('Sisyphus', vars['origin2'], vars['flavor2']) >+ noarch2 = Arch(repo2, 'noarch', []) >+ source2 = Arch(repo2, vars['source'], [noarch2]) > noarch = Arch(repo, 'noarch', []) >- source = Arch(repo, vars['source'], [noarch]) >+ source = Arch(repo, vars['source'], [noarch,source2,noarch2]) > target = Arch(repo, vars['target'], [noarch]) > shadow_repo = Repo('biarch', vars['shadow'], vars['flavor']) >- shadow = Arch(shadow_repo, vars['source'], [source, noarch]) >+ shadow = Arch(shadow_repo, vars['source'], [source,noarch,source2,noarch2]) > > new_packages = False >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 16265
: 2863 |
2864