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