Ignore:
Timestamp:
May 4, 2017, 3:49:53 PM (8 years ago)
Author:
Silvan Scherrer
Message:

spec: libxml2: Release version 2.9.4-2.

File:
1 edited

Legend:

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

    r915 r1120  
    11# remove the comment below, when we have python3 support
    22#global with_python3 1
    3 
    4 #define svn_url     e:/trees/libxml2/trunk
    5 %define svn_url     http://svn.netlabs.org/repos/ports/xml2/trunk
    6 %define svn_rev     1830
    73
    84Summary: Library providing XML and HTML support
     
    1511Vendor: bww bitwise works GmbH
    1612
    17 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip
     13%scm_source  svn http://svn.netlabs.org/repos/ports/xml2/trunk 2188
    1814
    1915# DEF files to create forwarders for the legacy package
     
    109105
    110106%prep
    111 %if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{?!svn_rev):0}
    112 %setup -q
    113 %else
    114 %setup -n "%{name}-%{version}" -Tc
    115 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force
    116 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip"
    117 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}")
    118 %endif
     107%scm_setup
    119108
    120109# Prepare forwarder DLLs.
     
    249238
    250239%changelog
     240* Thu May 04 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.9.4-3
     241- prefix /etc path with /@unixroot
     242- use the new scm_source and scm_setup macros
     243
    251244* Wed Nov 30 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.9.4-2
    252245- add -nostdlib to forwarders, to need less heap
Note: See TracChangeset for help on using the changeset viewer.