Browse Source

updated 3 packages

chrony-3.5.1-1

oniguruma-6.9.5.rev1-2

python-virtualenv-20.0.31-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@12479 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 3 years ago
parent
commit
c78d549354
3 changed files with 92 additions and 54 deletions
  1. 18 4
      c/chrony/chrony-vl.spec
  2. 28 12
      o/oniguruma/oniguruma-vl.spec
  3. 46 38
      p/python-virtualenv/python-virtualenv-vl.spec

+ 18 - 4
c/chrony/chrony-vl.spec

@@ -1,8 +1,8 @@
 %bcond_with systemd
 %bcond_with systemd
 
 
 Name:           chrony
 Name:           chrony
-Version:        3.5
-Release:        2%{?_dist_release}%{?with_systemd:.systemd}
+Version:        3.5.1
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Summary:        An NTP client/server
 Summary:        An NTP client/server
 Group:          System Environment/Daemons
 Group:          System Environment/Daemons
 Vendor:         Project Vine
 Vendor:         Project Vine
@@ -27,9 +27,13 @@ Patch2:         chrony-service-helper.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 
 BuildRequires:  libcap-devel readline-devel ncurses-devel bison
 BuildRequires:  libcap-devel readline-devel ncurses-devel bison
+BuildRequires:  libseccomp-devel
+BuildRequires:  gcc gcc-c++ bison gnupg2 net-tools
+BuildRequires:  gnutls-devel gnutls-utils
 
 
 Requires(pre):  shadow-utils
 Requires(pre):  shadow-utils
 %if %{with systemd}
 %if %{with systemd}
+BuildRequires:  systemd
 %{?systemd_requires}
 %{?systemd_requires}
 %else
 %else
 Requires(post): chkconfig
 Requires(post): chkconfig
@@ -42,7 +46,6 @@ Obsoletes:      ntp < 4.2.6p5
 %endif
 %endif
 Obsoletes: networkmanager-dispatcher-chrony
 Obsoletes: networkmanager-dispatcher-chrony
 
 
-
 %description
 %description
 A client/server for the Network Time Protocol, this program keeps your
 A client/server for the Network Time Protocol, this program keeps your
 computer's clock accurate. It was specially designed to support
 computer's clock accurate. It was specially designed to support
@@ -50,6 +53,7 @@ systems with intermittent internet connections, but it also works well
 in permanently connected environments. It can use also hardware reference
 in permanently connected environments. It can use also hardware reference
 clocks, system real-time clock or manual input as time references.
 clocks, system real-time clock or manual input as time references.
 
 
+
 %prep
 %prep
 %setup -q -n %{name}-%{version}%{?prerelease}
 %setup -q -n %{name}-%{version}%{?prerelease}
 %patch2 -p1 -b .service-helper
 %patch2 -p1 -b .service-helper
@@ -59,6 +63,7 @@ echo '# Keys used by chronyd for command and NTP authentication' > chrony.keys
 # regenerate the file from getdate.y
 # regenerate the file from getdate.y
 rm -f getdate.c
 rm -f getdate.c
 
 
+
 %build
 %build
 #CFLAGS="$RPM_OPT_FLAGS"
 #CFLAGS="$RPM_OPT_FLAGS"
 #%ifarch %{sparc}
 #%ifarch %{sparc}
@@ -71,6 +76,8 @@ rm -f getdate.c
 
 
 %configure \
 %configure \
 	--docdir=%{_docdir} \
 	--docdir=%{_docdir} \
+	--enable-ntp-signd \
+	--enable-scfilter \
 	--with-user=chrony \
 	--with-user=chrony \
 	--with-sendmail=%{_sbindir}/sendmail \
 	--with-sendmail=%{_sbindir}/sendmail \
 %if %{with systemd}
 %if %{with systemd}
@@ -80,6 +87,7 @@ rm -f getdate.c
 	--enable-forcednsretry
 	--enable-forcednsretry
 make %{?_smp_mflags} all docs
 make %{?_smp_mflags} all docs
 
 
+
 %install
 %install
 rm -rf %{buildroot}
 rm -rf %{buildroot}
 
 
@@ -121,9 +129,11 @@ install -m 755 -p %{SOURCE4} %{buildroot}%{_initrddir}/chronyd
 
 
 touch %{buildroot}%{_localstatedir}/lib/chrony/{drift,rtc}
 touch %{buildroot}%{_localstatedir}/lib/chrony/{drift,rtc}
 
 
+
 %clean
 %clean
 rm -rf %{buildroot}
 rm -rf %{buildroot}
 
 
+
 %pre
 %pre
 getent group chrony > /dev/null || /usr/sbin/groupadd -r chrony
 getent group chrony > /dev/null || /usr/sbin/groupadd -r chrony
 getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
 getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
@@ -144,7 +154,7 @@ getent passwd chrony > /dev/null || /usr/sbin/useradd -r -g chrony \
 %if %{with systemd}
 %if %{with systemd}
 %systemd_preun chronyd.service chrony-wait.service
 %systemd_preun chronyd.service chrony-wait.service
 %else
 %else
-if [ "$1" -eq 0 ]; then
+if [ "$1" -eq 0 -o -x /bin/systemctl ]; then
         /sbin/service chronyd stop &> /dev/null
         /sbin/service chronyd stop &> /dev/null
         /sbin/chkconfig --del chronyd
         /sbin/chkconfig --del chronyd
 fi
 fi
@@ -161,6 +171,7 @@ fi
 :
 :
 %endif
 %endif
 
 
+
 %files
 %files
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
 %license COPYING
 %license COPYING
@@ -192,6 +203,9 @@ fi
 %dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
 %dir %attr(-,chrony,chrony) %{_localstatedir}/log/chrony
 
 
 %changelog
 %changelog
+* Thu Aug 27 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5.1-1
+- new upstream release.
+
 * Mon Apr 06 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5-2
 * Mon Apr 06 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.5-2
 - added systemd stuff (disabled as default).
 - added systemd stuff (disabled as default).
 - updated Source2.
 - updated Source2.

+ 28 - 12
o/oniguruma/oniguruma-vl.spec

@@ -1,14 +1,16 @@
-%define srcname onig
+%define srcname	onig
+%global ver	6.9.5
+%global rev	rev1
 
 
 Summary:	Oniguruma - A regular expressions library
 Summary:	Oniguruma - A regular expressions library
 Summary(ja):	鬼車 - 正規表現ライブラリ
 Summary(ja):	鬼車 - 正規表現ライブラリ
 Name:		oniguruma
 Name:		oniguruma
-Version:	6.9.4
-Release:	1%{?_dist_release}
+Version:	%{ver}%{?rev:.}%{?rev}
+Release:	2%{?_dist_release}
 License:	BSD
 License:	BSD
-Group:		System Environment/Libraries
+Group:		system
 URL:		https://github.com/kkos/oniguruma
 URL:		https://github.com/kkos/oniguruma
-Source0:	https://github.com/kkos/oniguruma/releases/download/v%{version}/%{srcname}-%{version}.tar.gz
+Source0:	https://github.com/kkos/oniguruma/releases/download/v%{ver}%{?rev:_}%{?rev}/%{srcname}-%{ver}%{?rev:-}%{?rev}.tar.gz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 Vendor:		Project Vine
 Vendor:		Project Vine
 Distribution:	Vine Linux
 Distribution:	Vine Linux
@@ -26,10 +28,11 @@ for every regular expression object can be specified.
 このライブラリの特長は、それぞれの正規表現オブジェクトごとに
 このライブラリの特長は、それぞれの正規表現オブジェクトごとに
 異なる文字エンコーディングを指定できることです。
 異なる文字エンコーディングを指定できることです。
 
 
+
 %package devel
 %package devel
 Summary:	Libraries/include files for Oniguruma
 Summary:	Libraries/include files for Oniguruma
 Summary(ja):	鬼車の開発用ファイル
 Summary(ja):	鬼車の開発用ファイル
-Group:		Development/Libraries
+Group:		programming
 Requires:	%{name} = %{version}-%{release}
 Requires:	%{name} = %{version}-%{release}
 
 
 %description devel
 %description devel
@@ -48,13 +51,20 @@ applications with Oniguruma.
 このパッケージには、鬼車を使ったアプリケーションの開発に必要な
 このパッケージには、鬼車を使ったアプリケーションの開発に必要な
 ライブラリ及びヘッダファイルが含まれています。
 ライブラリ及びヘッダファイルが含まれています。
 
 
+
 %prep
 %prep
-%setup -q -n %{srcname}-%{version}
+%setup -q -n %{srcname}-%{ver}
+
 
 
 %build
 %build
-%configure
+%configure \
+	--enable-posix-api \
+	--disable-silent-rules \
+	--disable-static
+
 %__make %{?_smp_mflags}
 %__make %{?_smp_mflags}
 
 
+
 %install
 %install
 %__rm -rf %{buildroot}
 %__rm -rf %{buildroot}
 %makeinstall
 %makeinstall
@@ -63,14 +73,14 @@ applications with Oniguruma.
 %__rm -f %{buildroot}%{_libdir}/libonig.a
 %__rm -f %{buildroot}%{_libdir}/libonig.a
 %__rm -f %{buildroot}%{_libdir}/libonig.la
 %__rm -f %{buildroot}%{_libdir}/libonig.la
 
 
+
 %clean
 %clean
 %__rm -rf %{buildroot}
 %__rm -rf %{buildroot}
 
 
-%post
-/sbin/ldconfig
 
 
-%postun
-/sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 
 
 %files
 %files
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
@@ -87,6 +97,12 @@ applications with Oniguruma.
 %{_includedir}/onig*.h
 %{_includedir}/onig*.h
 
 
 %changelog
 %changelog
+* Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-2
+- enabled POSIX API.
+
+* Fri Aug 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.5.rev1-1
+- new upstream release.
+
 * Wed Dec 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.4-1
 * Wed Dec 04 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 6.9.4-1
 - new upstream release.
 - new upstream release.
 
 

+ 46 - 38
p/python-virtualenv/python-virtualenv-vl.spec

@@ -3,33 +3,33 @@
 Summary:        Tool to create isolated Python environments
 Summary:        Tool to create isolated Python environments
 Summary(ja):    隔離されたPython環境を構築するためのツール
 Summary(ja):    隔離されたPython環境を構築するためのツール
 Name:           python-%{oname}
 Name:           python-%{oname}
-Version:        15.1.0
+Version:        20.0.31
 Release:        1%{?_dist_release}
 Release:        1%{?_dist_release}
+Group:          programming
+Vendor:         Project Vine
+Distribution:   Vine Linux
+Packager:       yasumichi
 
 
-Group:          Development/Languages
 License:        MIT
 License:        MIT
-URL:            http://pypi.python.org/pypi/%{oname}
-Source0:        http://pypi.python.org/packages/source/v/%{oname}/%{oname}-%{version}.tar.gz
-# virtualenv -p "/usr/bin/python3" venv fails if there are not packages installed
-# under /usr/local/lib/pythonX.Y/site-packages. Check if exec_dir exists before
-# listing it's content.
-Patch0:         check-exec_dir.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildArch:      noarch
+URL:            https://pypi.python.org/pypi/%{oname}
+Source0:        https://pypi.python.org/packages/source/v/%{oname}/%{oname}-%{version}.tar.gz
+# Add /usr/share/python-wheels to extra_search_dir
 
 
-Vendor:		Project Vine
-Distribution:	Vine Linux
-Packager:	yasumichi
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 
 BuildRequires:  python-rpm-macros
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-rpm-macros
 
 
+BuildRequires:  python2-rpm-macros
 BuildRequires:  python-devel
 BuildRequires:  python-devel
-Requires:       python-devel
-
 BuildRequires:  python-setuptools
 BuildRequires:  python-setuptools
+Requires:       python-devel
 Requires:       python-setuptools
 Requires:       python-setuptools
 
 
+BuildRequires:  python3-rpm-macros
+BuildRequires:  python3-setuptools
+BuildRequires:  python3-devel
+
 
 
 %description
 %description
 virtualenv is a tool to create isolated Python environments. virtualenv
 virtualenv is a tool to create isolated Python environments. virtualenv
@@ -41,7 +41,7 @@ licensed under an MIT-style permissive license.
 %package -n     python3-virtualenv
 %package -n     python3-virtualenv
 Summary:        Tool to create isolated Python environments
 Summary:        Tool to create isolated Python environments
 Summary(ja):    隔離されたPython環境を構築するためのツール
 Summary(ja):    隔離されたPython環境を構築するためのツール
-
+Group:          programming
 Requires:       python3-setuptools
 Requires:       python3-setuptools
 Requires:       python3-devel
 Requires:       python3-devel
 
 
@@ -54,28 +54,34 @@ licensed under an MIT-style permissive license
 
 
 %prep
 %prep
 %setup -q -n %{oname}-%{version}
 %setup -q -n %{oname}-%{version}
-%{__sed} -i -e "1s|#!/usr/bin/env python||" virtualenv.py 
+%{__sed} -i -e "1s|#!/usr/bin/env python||" tasks/update_embedded.py
+
+# Remove the wheels provided by RPM packages
+rm src/virtualenv/seed/wheels/embed/pip-*
+rm src/virtualenv/seed/wheels/embed/setuptools-*
+rm src/virtualenv/seed/wheels/embed/wheel-*
+
+test ! -f src/virtualenv/seed/embed/wheels/*.whl
 
 
-%patch0 -p1
 
 
 %build
 %build
 # Build code
 # Build code
-%{py_build}
+%{py2_build}
 %{py3_build}
 %{py3_build}
 
 
+
 %install
 %install
 rm -rf %{buildroot}
 rm -rf %{buildroot}
-%{py3_install}
-# rename binaries to use python3
-mv %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/py3-virtualenv
-# The versioned 3.x script was removed from upstream. Add it back.
-cp %{buildroot}/%{_bindir}/py3-virtualenv %{buildroot}/%{_bindir}/virtualenv-%{python3_version}
-cp %{buildroot}/%{_bindir}/py3-virtualenv %{buildroot}/%{_bindir}/virtualenv-3
-
-%{py_install}
+%{py2_install}
 # The versioned 2.x script was removed from upstream. Add it back.
 # The versioned 2.x script was removed from upstream. Add it back.
 cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-%{python_version}
 cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-%{python_version}
 cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-2
 cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-2
+rm %{buildroot}/%{_bindir}/virtualenv
+
+%{py3_install}
+# The versioned 3.x script was removed from upstream. Add it back.
+cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-%{python3_version}
+cp %{buildroot}/%{_bindir}/virtualenv %{buildroot}/%{_bindir}/virtualenv-3
 
 
 
 
 %clean
 %clean
@@ -84,25 +90,27 @@ rm -rf %{buildroot}
 
 
 %files
 %files
 %defattr(-,root,root,-)
 %defattr(-,root,root,-)
-%license LICENSE.txt
-%doc docs/*rst PKG-INFO AUTHORS.txt
-%{python_sitelib}/*
-%{_bindir}/virtualenv
+%license LICENSE
+%doc docs/*rst README*
 %{_bindir}/virtualenv-2
 %{_bindir}/virtualenv-2
 %{_bindir}/virtualenv-%{python_version}
 %{_bindir}/virtualenv-%{python_version}
+%{python_sitelib}/*
 
 
 %files -n python3-virtualenv
 %files -n python3-virtualenv
-%license LICENSE.txt
-%doc docs/*rst PKG-INFO AUTHORS.txt
-%{_bindir}/py3-virtualenv
+%license LICENSE
+%doc docs/*rst README*
+%{_bindir}/virtualenv
 %{_bindir}/virtualenv-3
 %{_bindir}/virtualenv-3
 %{_bindir}/virtualenv-%{python3_version}
 %{_bindir}/virtualenv-%{python3_version}
-%{python3_sitelib}/virtualenv.py
-%{python3_sitelib}/virtualenv_support/
+%{python3_sitelib}/virtualenv
 %{python3_sitelib}/virtualenv-*.egg-info/
 %{python3_sitelib}/virtualenv-*.egg-info/
-%{python3_sitelib}/__pycache__/*
 
 
 %changelog
 %changelog
+* Sat Aug 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20.0.31-1
+- new upstream release.
+- made python3 primary (/usr/bin/virtualenv).
+- dropped Patch0.
+
 * Mon Dec 18 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.1.0-1
 * Mon Dec 18 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 15.1.0-1
 - new upstream release.
 - new upstream release.
 - added Patch0.
 - added Patch0.