From c6c550ee1e4c14e88661afd8e3b8dfa3199bd51f Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Mon, 1 Feb 2016 06:57:50 -0600 Subject: [PATCH] %build: -DSHARED_ONLY=TRUE (#1303598) --- libical.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libical.spec b/libical.spec index 63f6cd6..8eb85cf 100644 --- a/libical.spec +++ b/libical.spec @@ -1,7 +1,7 @@ Summary: Reference implementation of the iCalendar data type and serialization format Name: libical Version: 2.0.0 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2 or MPLv1.1 URL: http://freeassociation.sourceforge.net/ Source: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -32,7 +32,9 @@ applications that use libical. %build mkdir -p %{_target_platform} pushd %{_target_platform} -%{cmake} -DUSE_INTEROPERABLE_VTIMEZONES=true .. +%{cmake} .. \ + -DUSE_INTEROPERABLE_VTIMEZONES:BOOL=true \ + -DSHARED_ONLY:BOOL=true popd make %{?_smp_mflags} -C %{_target_platform} @@ -40,8 +42,6 @@ make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} -# omit static libs -rm -fv %{buildroot}%{_libdir}/lib*.a %check make test ARGS="-V" -C %{_target_platform} @@ -70,6 +70,9 @@ make test ARGS="-V" -C %{_target_platform} %{_includedir}/libical/ %changelog +* Mon Feb 01 2016 Rex Dieter 2.0.0-4 +- %%build: -DSHARED_ONLY=TRUE (#1303598) + * Fri Jan 29 2016 Milan Crha - 2.0.0-3 - Build with -DUSE_INTEROPERABLE_VTIMEZONES=true