]> git.pld-linux.org Git - packages/tdb.git/blobdiff - tdb.spec
- updated to 1.3.8
[packages/tdb.git] / tdb.spec
index 59dd7d19463d7fc90cd8ac5e9e7b5f6751ecefc2..73edcbcdce8b2c342f9c6cfce788ef75587a730d 100644 (file)
--- a/tdb.spec
+++ b/tdb.spec
@@ -1,16 +1,17 @@
 Summary:       TDB - Trivial Database
 Summary(pl.UTF-8):     TDB - prosta baza danych
 Name:          tdb
-Version:       1.3.4
-Release:       2
+Version:       1.3.8
+Release:       1
 Epoch:         2
 License:       LGPL v3+
 Group:         Libraries
-Source0:       http://www.samba.org/ftp/tdb/%{name}-%{version}.tar.gz
-# Source0-md5: 60a9ad41e45d53e97c7cd4262932a53a
+Source0:       https://www.samba.org/ftp/tdb/%{name}-%{version}.tar.gz
+# Source0-md5: fa4c9e2f59fcf41441285bca5f5ab481
 URL:           http://tdb.samba.org/
 BuildRequires: python-devel >= 2
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
 Obsoletes:     tdb-extras
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -63,7 +64,8 @@ CFLAGS="%{rpmcflags}" \
 PYTHONDIR=%{py_sitedir} \
 ./configure \
        --prefix=%{_prefix} \
-       --libdir=%{_libdir}
+       --libdir=%{_libdir} \
+       --disable-rpath
 
 %{__make} \
        V=1
@@ -74,6 +76,10 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -107,3 +113,4 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python-tdb
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/tdb.so
+%{py_sitedir}/_tdb_text.py[co]
This page took 0.069801 seconds and 4 git commands to generate.