From 7ad57b99a7fa13b9bb30b0a40caeb2e91c699a5a Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 8 Jun 2022 08:43:25 -0400 Subject: rename package for freefilesync in el8 --- .gitremotes | 4 ++++ libssh2.spec | 20 ++++++++++++-------- sources | 1 - 3 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 .gitremotes delete mode 100644 sources diff --git a/.gitremotes b/.gitremotes new file mode 100644 index 0000000..0f50e23 --- /dev/null +++ b/.gitremotes @@ -0,0 +1,4 @@ +local https://www.example.com/git/libssh2-freefilesync (fetch) +local https://www.example.com/git/libssh2-freefilesync (push) +origin https://src.fedoraproject.org/rpms/libssh2 (fetch) +origin https://src.fedoraproject.org/rpms/libssh2 (push) diff --git a/libssh2.spec b/libssh2.spec index 3a84792..ca67b21 100644 --- a/libssh2.spec +++ b/libssh2.spec @@ -1,4 +1,4 @@ -Name: libssh2 +Name: libssh2-freefilesync Version: 1.9.0 Release: 5%{?dist} Summary: A library implementing the SSH2 protocol @@ -27,33 +27,34 @@ BuildRequires: openssh-server %if 0%{?fedora} > 23 || 0%{?rhel} > 7 BuildRequires: glibc-langpack-en %endif +Provides: libssh2 %description -libssh2 is a library implementing the SSH2 protocol as defined by -Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25), -SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*, -SECSH-DHGEX(04), and SECSH-NUMBERS(10). +libssh2 for freefilesync. EL8 libssh2 package is in a difficult +dnf module. %package devel -Summary: Development files for libssh2 +Summary: Development files for libssh2 freefilesync Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig +Provides: libssh2-devel %description devel -The libssh2-devel package contains libraries and header files for +The libssh2-freefilesync-devel package contains libraries and header files for developing applications that use libssh2. %package docs Summary: Documentation for libssh2 Requires: %{name} = %{version}-%{release} BuildArch: noarch +Provides: libssh2-docs %description docs The libssh2-docs package contains man pages and examples for developing applications that use libssh2. %prep -%setup -q +%setup -q -n libssh2-%{version} %patch1 -p1 # Replace hard wired port number in the test suite to avoid collisions @@ -118,6 +119,9 @@ LC_ALL=en_US.UTF-8 make -C tests check %{_libdir}/pkgconfig/libssh2.pc %changelog +* Wed Jun 08 2022 B. Stack - 1.9.0-5 +- build with custom name for freefilesync on el8 + * Fri Mar 27 2020 Paul Howarth - 1.9.0-5 - Switch to https:// upstream URLs - Full groff (not just groff-base) needed for the mansyntax check diff --git a/sources b/sources deleted file mode 100644 index a8167df..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (libssh2-1.9.0.tar.gz) = 41a3ebcf84e32eab69b7411ffb0a3b6e6db71491c968602b17392cfe3490ef00239726ec28acb3d25bf0ed62700db7f4d0bb5a9175618f413865f40badca6e17 -- cgit