Changeset 1230 for spec/trunk/SPECS
- Timestamp:
- Aug 29, 2017, 5:56:12 PM (8 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/libcx.spec (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libcx.spec
r1155 r1230 1 1 Name: libcx 2 2 Summary: kLIBC Extension Library 3 Version: 0. 5.33 Version: 0.6.0 4 4 Release: 1%{?dist} 5 5 License: LGPLv2.1+ … … 12 12 Obsoletes: libpoll 13 13 Provides: libpoll 14 15 # Due to patch from kLIBC #366 16 Requires: libc >= 0.6.6-35 14 17 15 18 %description … … 34 37 %scm_setup 35 38 36 %define kmk_env \ 37 KMK_FLAGS="\ 38 KBUILD_VERBOSE=2 \ 39 BUILD_TYPE=release \ 40 INST_PREFIX=%{_prefix}" 39 %global kmk_flags CFLAGS="%{optflags}" LDFLAGS=-Zhigh-mem KBUILD_VERBOSE=2 BUILD_TYPE=release INST_PREFIX="%{_prefix}" 41 40 42 41 %build 43 CFLAGS="$RPM_OPT_FLAGS" 44 LDFLAGS="-Zhigh-mem" 45 %{kmk_env} 46 kmk $KMK_FLAGS CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" 42 kmk %{kmk_flags} 47 43 48 44 %install 49 rm -rf %{buildroot} 50 %{kmk_env} 51 kmk $KMK_FLAGS DESTDIR="%{buildroot}" install 45 %{__rm} -rf %{buildroot} 46 kmk %{kmk_flags} DESTDIR="%{buildroot}" install 52 47 # Remove tests as we don't need them now 53 rm-rf %{buildroot}%{_bindir}/tst-*.exe48 %{__rm} -rf %{buildroot}%{_bindir}/tst-*.exe 54 49 # Copy headers (@todo move it to Makefile.kmk) 55 mkdir -p %{buildroot}%{_includedir}/sys 50 %{__mkdir_p} %{buildroot}%{_includedir}/sys %{buildroot}%{_includedir}/libcx 56 51 echo "#include <sys/poll.h>" > nosys_poll.h 57 install -m 644 nosys_poll.h %{buildroot}%{_includedir}/poll.h 58 install -m 644 src/poll/poll.h %{buildroot}%{_includedir}/sys 59 install -m 644 src/mmap/sys/mman.h %{buildroot}%{_includedir}/sys 52 %{__install} -m 644 nosys_poll.h %{buildroot}%{_includedir}/poll.h 53 %{__install} -m 644 src/poll/poll.h %{buildroot}%{_includedir}/sys 54 %{__install} -m 644 src/mmap/sys/mman.h %{buildroot}%{_includedir}/sys 55 %{__install} -m 644 src/exeinfo/libcx/exeinfo.h %{buildroot}%{_includedir}/libcx 56 # Dir for LIBCx assertion logs 57 %{__mkdir_p} %{buildroot}%{_var}/log/libcx 58 59 %check 60 kmk %{kmk_flags} test 60 61 61 62 %clean … … 66 67 %doc LICENSE README.md CHANGELOG.md 67 68 %{_libdir}/libcx*.dll 69 %dir %{_var}/log/libcx 68 70 69 71 %files devel … … 74 76 %{_includedir}/sys/poll.h 75 77 %{_includedir}/sys/mman.h 78 %{_includedir}/libcx/exeinfo.h 76 79 77 80 %changelog 81 * Tue Aug 29 2017 Dmitriy Kuminov <coding@dmik.org> 0.6.0-1 82 - Release version 0.6.0 83 (https://github.com/bitwiseworks/libcx/blob/0.6.0/CHANGELOG.md). 84 - Add check section to run tests. 85 78 86 * Fri Jun 2 2017 Dmitriy Kuminov <coding@dmik.org> 0.5.3-1 79 87 - Release version 0.5.3
Note:
See TracChangeset
for help on using the changeset viewer.
