Compare commits
2 Commits
36b00b7e43
...
f54041d4df
Author | SHA1 | Date | |
---|---|---|---|
f54041d4df | |||
0c2162fe62 |
@ -59,6 +59,7 @@ sed -i "s|^Vendor:.*|Vendor: openmamba|;
|
|||||||
/^BuildRequires:[[:space:]]*libkdegames5-devel/d;
|
/^BuildRequires:[[:space:]]*libkdegames5-devel/d;
|
||||||
/^BuildRequires:[[:space:]]*python3.7dist/d;
|
/^BuildRequires:[[:space:]]*python3.7dist/d;
|
||||||
/^BuildRoot:[[:space:]]*.*/d;
|
/^BuildRoot:[[:space:]]*.*/d;
|
||||||
|
\,%post.* -p /sbin/ldconfig$,d;
|
||||||
s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|;
|
s|\(BuildRequires:[[:space:]]*\)libmysql-devel|\1libmysql5-devel|;
|
||||||
s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|;
|
s|\(BuildRequires:[[:space:]]*\)libdb42-devel|\1libdb47-devel|;
|
||||||
s|\(BuildRequires:[[:space:]]*\)libdb51-devel|\1libdb53-devel|;
|
s|\(BuildRequires:[[:space:]]*\)libdb51-devel|\1libdb53-devel|;
|
||||||
|
@ -30,7 +30,12 @@ while True:
|
|||||||
requrl += from_package +"/"
|
requrl += from_package +"/"
|
||||||
requrl += "?inrepo=openmamba&outdated=1"
|
requrl += "?inrepo=openmamba&outdated=1"
|
||||||
sys.stderr.write("Requesting: " + requrl + "\n")
|
sys.stderr.write("Requesting: " + requrl + "\n")
|
||||||
url = urllib.request.urlopen(requrl)
|
req = urllib.request.Request(
|
||||||
|
requrl,
|
||||||
|
data=None,
|
||||||
|
headers={'User-Agent': 'autodist/1.5.3 (Linux; openmamba; reports@openmamba.org)'}
|
||||||
|
)
|
||||||
|
url = urllib.request.urlopen(req)
|
||||||
#print(requrl)
|
#print(requrl)
|
||||||
data = json.loads(url.read().decode())
|
data = json.loads(url.read().decode())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user