1 |
|
### RPM external cppunit 1.12.1 |
2 |
|
Source0: http://switch.dl.sourceforge.net/sourceforge/%n/%n-%realversion.tar.gz |
3 |
< |
Source1: http://spi.cvs.cern.ch:8180/cgi-bin/spi.cgi/*checkout*/Components/UnitTesting/Tools/CppUnit/CppUnit_testdriver.cpp?rev=1.1 |
3 |
> |
Source1: CppUnit_testdriver_cpp |
4 |
|
|
5 |
|
%prep |
6 |
|
%setup -n %n-%realversion |
22 |
|
make %makeprocesses |
23 |
|
%install |
24 |
|
make install |
25 |
< |
cp %_sourcedir/CppUnit_testdriver.cpp* %i/include/CppUnit_testdriver.cpp |
25 |
> |
cp %_sourcedir/CppUnit_testdriver_cpp %i/include/CppUnit_testdriver.cpp |
26 |
> |
# We remove pkg-config files for two reasons: |
27 |
> |
# * it's actually not required (macosx does not even have it). |
28 |
> |
# * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config |
29 |
> |
# on linux. |
30 |
> |
# In the case at some point we build a package that can be build |
31 |
> |
# only via pkg-config we have to think on how to ship our own |
32 |
> |
# version. |
33 |
> |
rm -rf %i/lib/pkgconfig |
34 |
|
|
35 |
|
%post |
36 |
|
%{relocateConfig}/bin/cppunit-config |