Changeset 1283 for spec/trunk/SPECS/pthread.spec
- Timestamp:
- Dec 27, 2017, 12:29:36 PM (8 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/pthread.spec (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/pthread.spec
r629 r1283 1 %define svn_url http://svn.netlabs.org/repos/ports/pthread/trunk2 %define svn_rev 12343 4 1 %define kmk_dist out/os2.x86/release/dist 5 2 6 3 Summary: A posix pthread emulation for OS/2-eComStation 7 4 Name: pthread 8 Version: 201 512299 Release: 2 1%{?dist}5 Version: 20171227 6 Release: 22%{?dist} 10 7 License: unknown 11 8 Group: Development/Libraries 12 Source: %{name}-%{version}-r%{svn_rev}.zip 9 10 %scm_source svn http://svn.netlabs.org/repos/ports/pthread/trunk 2250 11 12 BuildRequires: gcc make 13 13 14 Source1: pthread-legacy-os2.zip 14 15 15 16 16 %description … … 39 39 HLL debug data for exception handling support. 40 40 41 %debug_package 42 41 43 %prep 42 %if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi') 43 %setup -q 44 %else 45 %setup -n "%{name}-%{version}" -T -c -a 1 46 svn export -r %{svn_rev} %{svn_url} . --force 47 rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" 48 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}") 49 %endif 44 %scm_setup 45 unzip %SOURCE1 -d . 50 46 51 47 %build … … 60 56 61 57 cp pthread.dll %{buildroot}%{_libdir} 62 cp %{kmk_dist}/ bin/pthr01.dll %{buildroot}%{_libdir}58 cp %{kmk_dist}/lib/pthr01.dll %{buildroot}%{_libdir} 63 59 cp %{kmk_dist}/include/pthread.h %{buildroot}%{_includedir} 64 60 cp %{kmk_dist}/lib/pthread*.a %{buildroot}%{_libdir} … … 86 82 87 83 %changelog 84 * Wed Dec 27 2017 Dmitriy Kuminov <coding@dmik.org> 20171227-22 85 - Remove dangerous DosEnterCritSec usage. 86 - Use scm_source macro and friends. 87 88 88 * Tue Dec 29 2015 yd <yd@os2power.com> 20151229-21 89 89 - r1234, enable EXAPIS and mappings for fork() registration. … … 105 105 - Pull sources directly from SVN/GIT, ticket#76. 106 106 107 * Fri Apr 25 2014 Dmitriy Kuminov < dmik/coding.org>107 * Fri Apr 25 2014 Dmitriy Kuminov <coding@dmik.org> 108 108 - r720, Return proper POSIX errors in 'key' APIs. Fix pthread_key_delete() return code. 109 109 110 * Thu Apr 24 2014 Dmitriy Kuminov < dmik/coding.org>110 * Thu Apr 24 2014 Dmitriy Kuminov <coding@dmik.org> 111 111 - r718, fix invalid dereference in TlsAlloc and TlsFree. 112 112
Note:
See TracChangeset
for help on using the changeset viewer.
