1 |
< |
### RPM external dcap 1.2.35 |
1 |
> |
### RPM external dcap 1.2.35-XXXX |
2 |
|
# Fakes the presence of dcap since we are not allowed to distribute it. |
3 |
< |
Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.tar.gz |
4 |
< |
Patch: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%v.patch |
3 |
> |
Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%realversion.tar.gz |
4 |
> |
Patch: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%n-%realversion.patch |
5 |
|
%define cpu %(echo %cmsplatf | cut -d_ -f2) |
6 |
|
%if "%cpu" != "amd64" |
7 |
|
%define libsuffix %{nil} |
12 |
|
Provides: libdcap.so%{libsuffix} |
13 |
|
Provides: libpdcap.so%{libsuffix} |
14 |
|
%prep |
15 |
< |
%setup -n %n-%v |
15 |
> |
%setup -n %n-%realversion |
16 |
|
%patch0 -p1 |
17 |
|
%build |
18 |
< |
make BIN_PATH=%i %makeprocesses |
18 |
> |
LD=gcc make BIN_PATH=%i %makeprocesses |
19 |
|
%install |
20 |
< |
make BIN_PATH=%i install |
20 |
> |
LD=gcc make BIN_PATH=%i install |
21 |
|
# |