From 362cfc9ebf68dc7678a5680fbe32b86b4680259228e919dc246136deb22b24e8 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Wed, 9 Dec 2015 17:54:21 +0000 Subject: [PATCH] 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 --- rpmlintrc => libclc-rpmlintrc | 0 libclc.changes | 7 +++++++ libclc.spec | 28 +++++++++++++--------------- 3 files changed, 20 insertions(+), 15 deletions(-) rename rpmlintrc => libclc-rpmlintrc (100%) diff --git a/rpmlintrc b/libclc-rpmlintrc similarity index 100% rename from rpmlintrc rename to libclc-rpmlintrc diff --git a/libclc.changes b/libclc.changes index 30ef106..7361657 100644 --- a/libclc.changes +++ b/libclc.changes @@ -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 diff --git a/libclc.spec b/libclc.spec index c1755c2..505efc3 100644 --- a/libclc.spec +++ b/libclc.spec @@ -24,7 +24,7 @@ License: BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://libclc.llvm.org/ Source0: %{name}-%{version}.tar.xz -Source1: rpmlintrc +Source1: %{name}-rpmlintrc BuildRequires: gcc BuildRequires: libstdc++-devel BuildRequires: libtool @@ -43,26 +43,24 @@ Library requirements of the OpenCL C programming language. %setup -q %build -export CFLAGS="%{optflags}" -export CXXFLAGS="%{optflags}" -export CC=clang -export CXX=clang++ -./configure.py --prefix=%{_prefix} \ - --with-llvm-config=%{_bindir}/llvm-config \ - --with-cxx-compiler=${CXX} \ - --enable-runtime-subnormal \ - --pkgconfigdir=%{_libdir}/pkgconfig/ \ - --libexecdir=%{_libdir}/clc/ +export \ + CFLAGS="%{optflags}" \ + CXXFLAGS="%{optflags}" \ + CC=clang \ + CXX=clang++ +./configure.py \ + --prefix=%{_prefix} \ + --with-llvm-config=%{_bindir}/llvm-config \ + --with-cxx-compiler=${CXX} \ + --enable-runtime-subnormal \ + --pkgconfigdir=%{_libdir}/pkgconfig/ \ + --libexecdir=%{_libdir}/clc/ make %{?_smp_mflags} VERBOSE=1 %install make DESTDIR=%{buildroot} install %{?_smp_mflags} -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - %files %defattr(-,root,root) %{_includedir}/clc