%build: -DSHARED_ONLY=TRUE (#1303598)
This commit is contained in:
parent
94cfe9c9c7
commit
c6c550ee1e
11
libical.spec
11
libical.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Reference implementation of the iCalendar data type and serialization format
|
Summary: Reference implementation of the iCalendar data type and serialization format
|
||||||
Name: libical
|
Name: libical
|
||||||
Version: 2.0.0
|
Version: 2.0.0
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: LGPLv2 or MPLv1.1
|
License: LGPLv2 or MPLv1.1
|
||||||
URL: http://freeassociation.sourceforge.net/
|
URL: http://freeassociation.sourceforge.net/
|
||||||
Source: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/%{name}/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -32,7 +32,9 @@ applications that use libical.
|
|||||||
%build
|
%build
|
||||||
mkdir -p %{_target_platform}
|
mkdir -p %{_target_platform}
|
||||||
pushd %{_target_platform}
|
pushd %{_target_platform}
|
||||||
%{cmake} -DUSE_INTEROPERABLE_VTIMEZONES=true ..
|
%{cmake} .. \
|
||||||
|
-DUSE_INTEROPERABLE_VTIMEZONES:BOOL=true \
|
||||||
|
-DSHARED_ONLY:BOOL=true
|
||||||
popd
|
popd
|
||||||
|
|
||||||
make %{?_smp_mflags} -C %{_target_platform}
|
make %{?_smp_mflags} -C %{_target_platform}
|
||||||
@ -40,8 +42,6 @@ make %{?_smp_mflags} -C %{_target_platform}
|
|||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||||
|
|
||||||
# omit static libs
|
|
||||||
rm -fv %{buildroot}%{_libdir}/lib*.a
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test ARGS="-V" -C %{_target_platform}
|
make test ARGS="-V" -C %{_target_platform}
|
||||||
@ -70,6 +70,9 @@ make test ARGS="-V" -C %{_target_platform}
|
|||||||
%{_includedir}/libical/
|
%{_includedir}/libical/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> 2.0.0-4
|
||||||
|
- %%build: -DSHARED_ONLY=TRUE (#1303598)
|
||||||
|
|
||||||
* Fri Jan 29 2016 Milan Crha <mcrha@redhat.com> - 2.0.0-3
|
* Fri Jan 29 2016 Milan Crha <mcrha@redhat.com> - 2.0.0-3
|
||||||
- Build with -DUSE_INTEROPERABLE_VTIMEZONES=true
|
- Build with -DUSE_INTEROPERABLE_VTIMEZONES=true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user