forked from pool/libclc
Accepting request 348159 from home:pluskalm:branches:X11:XOrg
- Remove unnecessary ldconfig calls - Rename rpmlintrc to libclc-rpmlintrc - Minor spec file cleanup OBS-URL: https://build.opensuse.org/request/show/348159 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/libclc?expand=0&rev=4
This commit is contained in:
parent
ab2b20d0dc
commit
362cfc9ebf
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 9 17:37:18 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Remove unnecessary ldconfig calls
|
||||||
|
- Rename rpmlintrc to libclc-rpmlintrc
|
||||||
|
- Minor spec file cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 8 11:00:01 UTC 2015 - sndirsch@suse.com
|
Tue Dec 8 11:00:01 UTC 2015 - sndirsch@suse.com
|
||||||
|
|
||||||
|
18
libclc.spec
18
libclc.spec
@ -24,7 +24,7 @@ License: BSD-3-Clause
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Url: http://libclc.llvm.org/
|
Url: http://libclc.llvm.org/
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: rpmlintrc
|
Source1: %{name}-rpmlintrc
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: libstdc++-devel
|
BuildRequires: libstdc++-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
@ -43,11 +43,13 @@ Library requirements of the OpenCL C programming language.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
export \
|
||||||
export CXXFLAGS="%{optflags}"
|
CFLAGS="%{optflags}" \
|
||||||
export CC=clang
|
CXXFLAGS="%{optflags}" \
|
||||||
export CXX=clang++
|
CC=clang \
|
||||||
./configure.py --prefix=%{_prefix} \
|
CXX=clang++
|
||||||
|
./configure.py \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
--with-llvm-config=%{_bindir}/llvm-config \
|
--with-llvm-config=%{_bindir}/llvm-config \
|
||||||
--with-cxx-compiler=${CXX} \
|
--with-cxx-compiler=${CXX} \
|
||||||
--enable-runtime-subnormal \
|
--enable-runtime-subnormal \
|
||||||
@ -59,10 +61,6 @@ make %{?_smp_mflags} VERBOSE=1
|
|||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/clc
|
%{_includedir}/clc
|
||||||
|
Loading…
Reference in New Issue
Block a user