summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitremotes4
-rw-r--r--libssh2.spec20
-rw-r--r--sources1
3 files changed, 16 insertions, 9 deletions
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 <bgstack15@gmail.com> - 1.9.0-5
+- build with custom name for freefilesync on el8
+
* Fri Mar 27 2020 Paul Howarth <paul@city-fan.org> - 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
bgstack15