Browse Source

updated 2 packages

libsodium-1.0.18-2

rspamd-3.0-1
Tomohiro "Tomo-p" KATO 1 year ago
parent
commit
4add4fd15a
2 changed files with 31 additions and 17 deletions
  1. 15 13
      lib/libs/libsodium/libsodium-vl.spec
  2. 16 4
      r/rspamd/rspamd-vl.spec

+ 15 - 13
lib/libs/libsodium/libsodium-vl.spec

@@ -2,8 +2,12 @@ Summary: a modern and easy-to-use crypto library
 Summary(ja): モダンで手軽に使える暗号化ライブラリー
 Name: libsodium
 Version: 1.0.18
-Release: 1%{?_dist_release}
-Group: System Environment/Libraries
+Release: 2%{?_dist_release}
+Group: system
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: iwaim
+
 License: ISC
 URL: https://github.com/jedisct1/libsodium
 Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELEASE/%{name}-%{version}.tar.gz
@@ -11,11 +15,6 @@ Source0: https://github.com/jedisct1/libsodium/releases/download/%{version}-RELE
 #BuildRequires: 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 
-Vendor: Project Vine
-Distribution: Vine Linux
-Packager: iwaim
-
-
 %description
 Sodium is a new, easy-to-use software library for encryption, decryption,
 signatures, password hashing and more.
@@ -26,10 +25,11 @@ with a compatible API, and an extended API to improve usability even further.
 Its goal is to provide all of the core operations needed to build
 higher-level cryptographic tools.
 
+
 %package devel
 Summary: Development files for %{name}
 Summary(ja): %{name} の開発ファイル
-Group: Development/Libraries
+Group: programming
 Requires: %{name} = %{version}-%{release}
 
 %description devel
@@ -37,6 +37,9 @@ The %{name}-devel package contains libraries and header files for
 developing applications that use %{name}.
 
 
+%debug_package
+
+
 %prep
 %setup -q
 
@@ -62,11 +65,6 @@ developing applications that use %{name}.
 make check
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-
 %files
 %defattr(-,root,root)
 %license LICENSE
@@ -84,6 +82,10 @@ make check
 
 
 %changelog
+* Thu Aug 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-2
+- rebuilt with current environment.
+- dropped ldconfig scriptlets.
+
 * Sat Mar 07 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.18-1
 - new upstream release.
 

+ 16 - 4
r/rspamd/rspamd-vl.spec

@@ -11,8 +11,8 @@
 
 Summary:        Rapid spam filtering system
 Name:           rspamd
-Version:        2.7
-Release:        2%{?_dist_release}%{?with_systemd:.systemd}
+Version:        3.0
+Release:        1%{?_dist_release}%{?with_systemd:.systemd}
 Group:          servers
 Vendor:         Project Vine
 Distribution:   Vine Linux
@@ -20,7 +20,10 @@ Distribution:   Vine Linux
 License:        ASL 2.0
 URL:            https://rspamd.com
 Source0:        https://github.com/rspamd/rspamd/archive/%{version}.tar.gz#/%{name}-%{version}.tar.xz
-Patch0:         rspamd-2.7-lua54.patch
+Patch0:         rspamd-3.0-lua54.patch
+# to build with glibc-2.34+
+# https://github.com/onqtam/doctest/commit/099d5414e97244ec44cf46b14cd176b3a3dc52e3
+Patch1:         doctest-SIGSTKSZ.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
 
@@ -68,7 +71,11 @@ lua.
 
 
 %prep
-%autosetup -p1
+%setup
+%patch0 -p1
+pushd contrib/doctest
+%patch1 -p1
+popd
 
 
 %build
@@ -243,6 +250,11 @@ fi
 
 
 %changelog
+* Thu Aug 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.0-1
+- new upstream release.
+- updated Patch0.
+- imported Patch1 from upstream of doctest to build with glibc-2.34+.
+
 * Thu Apr 08 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.7-2
 - rebuilt with icu69.