commit c18d91ee2f411fb2ffe64ced5e5587a91cdb1d53
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Thu Jun 21 15:35:16 2018 +0200

    - up to 0.9.0; use system expat

 tcl-tdom.spec | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/tcl-tdom.spec b/tcl-tdom.spec
index 20d7a63..ce910c9 100644
--- a/tcl-tdom.spec
+++ b/tcl-tdom.spec
@@ -1,14 +1,14 @@
-# TODO: system expat
 Summary:       XML parsing for Tcl
 Summary(pl.UTF-8):     Analizator XML-a dla Tcl-a
 Name:          tcl-tdom
-Version:       0.8.3
+Version:       0.9.0
 Release:       1
 License:       MPL 1.1
 Group:         Development/Languages/Tcl
-Source0:       https://github.com/downloads/tDOM/tdom/tDOM-%{version}.tgz
-# Source0-md5: f773bef5b8f15e0b400f9f93f164a6bb
-URL:           http://tdom.github.io/
+Source0:       http://tdom.org/downloads/tdom-0.9.0-src.tgz
+# Source0-md5: 22a1a4ad5fed6dfbe29c83083bf14d83
+URL:           http://tdom.org/
+BuildRequires: expat-devel
 BuildRequires: tcl-devel >= 8.4.3
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -42,14 +42,15 @@ C development files for tDOM module.
 Pliki programistyczne C dla modułu tDOM.
 
 %prep
-%setup -q -n tDOM-%{version}
+%setup -q -n tdom-%{version}
 
 %build
 %configure \
 %if "%{_lib}" == "lib64"
        --enable-64bit \
 %endif
-       --enable-threads
+       --enable-threads \
+       --with-expat=%{_prefix}
 %{__make}
 
 %install
@@ -58,6 +59,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+chmod a+x $RPM_BUILD_ROOT%{_libdir}/tdom*/*.so*
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tcl-tdom.git/commitdiff/c18d91ee2f411fb2ffe64ced5e5587a91cdb1d53

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to