Ignore:
Timestamp:
Dec 27, 2017, 12:29:36 PM (8 years ago)
Author:
dmik
Message:

spec: pthread: Release version 20171227-22.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/pthread.spec

    r629 r1283  
    1 %define svn_url     http://svn.netlabs.org/repos/ports/pthread/trunk
    2 %define svn_rev     1234
    3 
    41%define kmk_dist out/os2.x86/release/dist
    52
    63Summary: A posix pthread emulation for OS/2-eComStation
    74Name: pthread
    8 Version: 20151229
    9 Release: 21%{?dist}
     5Version: 20171227
     6Release: 22%{?dist}
    107License: unknown
    118Group: 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
     12BuildRequires: gcc make
     13
    1314Source1: pthread-legacy-os2.zip
    14 
    1515
    1616%description
     
    3939HLL debug data for exception handling support.
    4040
     41%debug_package
     42
    4143%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
     45unzip %SOURCE1 -d .
    5046
    5147%build
     
    6056
    6157cp pthread.dll %{buildroot}%{_libdir}
    62 cp %{kmk_dist}/bin/pthr01.dll %{buildroot}%{_libdir}
     58cp %{kmk_dist}/lib/pthr01.dll %{buildroot}%{_libdir}
    6359cp %{kmk_dist}/include/pthread.h %{buildroot}%{_includedir}
    6460cp %{kmk_dist}/lib/pthread*.a %{buildroot}%{_libdir}
     
    8682
    8783%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
    8888* Tue Dec 29 2015 yd <yd@os2power.com> 20151229-21
    8989- r1234, enable EXAPIS and mappings for fork() registration.
     
    105105- Pull sources directly from SVN/GIT, ticket#76.
    106106
    107 * Fri Apr 25 2014 Dmitriy Kuminov <dmik/coding.org>
     107* Fri Apr 25 2014 Dmitriy Kuminov <coding@dmik.org>
    108108- r720, Return proper POSIX errors in 'key' APIs. Fix pthread_key_delete() return code.
    109109
    110 * Thu Apr 24 2014 Dmitriy Kuminov <dmik/coding.org>
     110* Thu Apr 24 2014 Dmitriy Kuminov <coding@dmik.org>
    111111- r718, fix invalid dereference in TlsAlloc and TlsFree.
    112112
Note: See TracChangeset for help on using the changeset viewer.