diff --git a/4.3.0.tar.gz b/4.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..8a8f3e6a10ad80630bb592439465f4d615e32343 Binary files /dev/null and b/4.3.0.tar.gz differ diff --git a/bcrypt-1.1.tar.gz b/bcrypt-1.1.tar.gz deleted file mode 100644 index 2944b2f976e20f11cc65537e3f31aa3fa30874d4..0000000000000000000000000000000000000000 Binary files a/bcrypt-1.1.tar.gz and /dev/null differ diff --git a/bcrypt-change-man-install-path.patch b/bcrypt-change-man-install-path.patch deleted file mode 100644 index 7971983949e843ed18214cc10d16fefddb0abe9c..0000000000000000000000000000000000000000 --- a/bcrypt-change-man-install-path.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -urN bcrypt-1.1-bak/Makefile bcrypt-1.1/Makefile ---- bcrypt-1.1-bak/Makefile 2020-05-02 00:14:58.032884533 +0800 -+++ bcrypt-1.1/Makefile 2020-05-02 00:15:24.750378113 +0800 -@@ -11,11 +11,11 @@ - - install: bcrypt Makefile - mkdir -p ${PREFIX}/bin;\ -- mkdir -p ${PREFIX}/man/man1;\ -+ mkdir -p ${PREFIX}/share/man/man1;\ - cp bcrypt ${PREFIX}/bin;\ -- cp bcrypt.1 ${PREFIX}/man/man1;\ -+ cp bcrypt.1 ${PREFIX}/share/man/man1;\ - chmod 755 ${PREFIX}/bin/bcrypt;\ -- chmod 644 ${PREFIX}/man/man1/bcrypt.1 -+ chmod 644 ${PREFIX}/share/man/man1/bcrypt.1 - - main.o: main.c ${DEFAULTS} - ${COMPILE} -c main.c diff --git a/bcrypt.spec b/bcrypt.spec index 8c045e3539f56e5a293c3b3175ca98084a3dc5f2..496b2ce52418f95a358f9482ad9d297d843c0b09 100644 --- a/bcrypt.spec +++ b/bcrypt.spec @@ -1,12 +1,10 @@ Name: bcrypt -Version: 1.1 -Release: 2 +Version: 4.3.0 +Release: 1 Summary: Bcrypt is a cross platform file encryption utility License: BSD URL: http://bcrypt.sourceforge.net/ -Source0: http://bcrypt.sourceforge.net/%{name}-%{version}.tar.gz - -Patch0 : bcrypt-change-man-install-path.patch +Source0: https://github.com/pyca/bcrypt/archive/refs/tags/%{version}.tar.gz BuildRequires: zlib-devel gcc @@ -16,7 +14,6 @@ Bcrypt is a cross platform file encryption utility. Encrypted files are portable %prep %setup -q -n %{name}-%{version}/ -%patch0 -p1 %build sed -i 's/CFLAGS = -O2 -Wall/& -g/' Makefile @@ -38,9 +35,11 @@ sed -i 's/CFLAGS = -O2 -Wall/& -g/' Makefile %{_mandir}/* %changelog +* Thu Jun 19 2025 openeuler_bot - 4.3.0-1 +- update bcrypt to 4.3.0 + * Wed Sep 8 2021 caoodngxia - 1.1-2 - Add debug package to add strip * Sun Mar 29 2020 Wei Xiong -- Package init - +- Package init \ No newline at end of file