# | Line 3 | Line 3 | |
---|---|---|
3 | Source: ftp://sources.redhat.com/pub/systemtap/%{n}/%{n}-%{realversion}.tar.gz | |
4 | %prep | |
5 | %setup -n %n-%realversion | |
6 | + | perl -p -i -e "s/-Wextra//g;s/-Werror//" `find . -name \*.in` |
7 | %build | |
8 | + | %if "%(echo %cmsos | sed -e 's/osx.*/osx/')" != "osx" |
9 | ./configure --prefix=%i | |
10 | cd libelf | |
11 | make %makeprocesses | |
12 | + | %endif |
13 | %install | |
14 | + | %if "%(echo %cmsos | sed -e 's/osx.*/osx/')" != "osx" |
15 | cd libelf | |
16 | make install | |
17 | rm -rf %i/bin | |
18 | + | %endif |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |