Browse Source

python3-3.5.6-3

Tomohiro "Tomo-p" KATO 5 years ago
parent
commit
c394c9397e
1 changed files with 15 additions and 1 deletions
  1. 15 1
      p/python3/python3-vl.spec

+ 15 - 1
p/python3/python3-vl.spec

@@ -8,7 +8,7 @@ Summary: An interpreted, interactive, object-oriented programming language.
 Summary(ja): オブジェクト指向 Python3 インタプリタ
 Name: python3
 Version: 3.5.6
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: PSF
 Group: Development/Languages
 URL: http://www.python.org/download/releases/%{version}
@@ -25,6 +25,9 @@ BuildRequires: gdbm-devel
 BuildRequires: glibc-devel
 BuildRequires: libdb-devel
 BuildRequires: libffi-devel
+BuildRequires: libnsl2-devel
+BuildRequires: libtirpc-devel
+BuildRequires: libxcrypt-devel
 BuildRequires: ncurses-devel
 BuildRequires: openssl-devel
 BuildRequires: readline-devel
@@ -118,6 +121,12 @@ for the Python language.
 
 
 %build
+if pkg-config libtirpc ; then
+        export CFLAGS="$CFLAGS $(pkg-config --cflags libtirpc)"
+        export CXXFLAGS="$CXXFLAGS $(pkg-config --cflags libtirpc)"
+        export LDFLAGS="$LDFLAGS $(pkg-config --libs-only-L libtirpc)"
+        export LIBS="$LIBS $(pkg-config --libs-only-l libtirpc)"
+fi
 ./configure \
 	--prefix=%{_prefix} \
 	--libdir=%{_libdir} \
@@ -282,6 +291,11 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Thu Feb 14 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.6-3
+- added BR:libxcrypt-devel.
+- added BR:libtirpc-devel.
+- added BR:libnsl2-devel.
+
 * Sat Jan 26 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.6-2
 - rebuilt with new toolchain.