forked from pool/cmake
Accepting request 198495 from devel:tools:building
- Fix build for SLE10 (no fdupes) (forwarded request 198493 from kwk) OBS-URL: https://build.opensuse.org/request/show/198495 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=72
This commit is contained in:
commit
4b55627617
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 11 11:49:06 UTC 2013 - kkaempf@suse.com
|
||||||
|
|
||||||
|
- Fix build for SLE10 (no fdupes)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Aug 12 19:21:05 UTC 2013 - tchvatal@suse.com
|
Mon Aug 12 19:21:05 UTC 2013 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -31,7 +31,9 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
|
%if 0%{?suse_version} > 1010
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
%endif
|
||||||
%if 0%{?sles_version} != 10
|
%if 0%{?sles_version} != 10
|
||||||
BuildRequires: libarchive-devel
|
BuildRequires: libarchive-devel
|
||||||
%endif
|
%endif
|
||||||
@ -90,7 +92,7 @@ sed -i \
|
|||||||
-e 's:OPTFLAGS:%{optflags}:g' \
|
-e 's:OPTFLAGS:%{optflags}:g' \
|
||||||
%{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake
|
%{buildroot}%{_datadir}/cmake/Modules/opensuse_rules.cmake
|
||||||
|
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version} > 1010
|
||||||
%fdupes %{buildroot}/usr/share/cmake
|
%fdupes %{buildroot}/usr/share/cmake
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user