Browse Source

python-2.7.15-3

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12026 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
67e368189a
1 changed files with 14 additions and 2 deletions
  1. 14 2
      p/python/python-vl.spec

+ 14 - 2
p/python/python-vl.spec

@@ -12,7 +12,7 @@ Summary: An interpreted, interactive, object-oriented programming language.
 Summary(ja): オブジェクト指向言語 Python インタプリタ
 Name: python
 Version: %{pybasever}.15
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 License: PSF
 Group: Development/Languages
 URL: http://www.python.org/%{pybasever}/
@@ -78,6 +78,8 @@ BuildRequires: expat-devel
 BuildRequires: mesa-libGL-devel
 BuildRequires: libX11-devel
 BuildRequires: libffi-devel
+BuildRequires: libnsl2-devel
+BuildRequires: libtirpc-devel
 BuildRequires: sqlite3-devel
 BuildRequires: tcl-devel
 BuildRequires: tk-devel
@@ -252,6 +254,12 @@ if pkg-config openssl ; then
 	export CFLAGS="$CFLAGS $(pkg-config --cflags openssl)"
 	export LDFLAGS="$LDFLAGS $(pkg-config --libs-only-L openssl)"
 fi
+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 \
 	--enable-ipv6 \
 	--enable-unicode=%{unicode} \
@@ -383,7 +391,8 @@ rm -fr $RPM_BUILD_ROOT
 
 %files -f dynfiles
 %defattr(-, root, root)
-%doc LICENSE README
+%license LICENSE
+%doc README
 %{_bindir}/python
 %{_bindir}/python2
 %{_bindir}/python%{pybasever}
@@ -470,6 +479,9 @@ rm -fr $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Jan 25 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7.15-3
+- rebuilt with new toolchain.
+
 * Sat Nov 03 2018 Toshiaki Ara <ara_t@384.jp> 2.7.15-2
 - revert and update patchs (101, 102)