# | Line 5 | Line 5 | Requires: python curl | |
---|---|---|
5 | ||
6 | %prep | |
7 | %setup -n pycurl-%realversion | |
8 | + | perl -p -i -e '/--static-libs/ && s/^(\s+)/$1"") #/' setup.py |
9 | ||
10 | %build | |
11 | python setup.py build | |
# | Line 12 | Line 13 | python setup.py build | |
13 | %install | |
14 | python setup.py install --prefix=%i | |
15 | find %i -name '*.egg-info' -exec rm {} \; | |
16 | + | # Remove documentation. |
17 | + | %define drop_files %i/share |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |