public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/git-ftp] rawhide: spec cleanup and modernization
@ 2026-06-06 5:50 Filipe Rosset
0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-06 5:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/git-ftp
Branch : rawhide
Commit : 8ac04ead817e5857b81a6b0eda8e4bd7330a71fa
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-06-06T02:50:02-03:00
Stats : +14/-33 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/git-ftp/c/8ac04ead817e5857b81a6b0eda8e4bd7330a71fa?branch=rawhide
Log:
spec cleanup and modernization
---
diff --git a/git-ftp-0.83-fix-path-man-pages.patch b/git-ftp-0.83-fix-path-man-pages.patch
deleted file mode 100644
index d69ab97..0000000
--- a/git-ftp-0.83-fix-path-man-pages.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- git-ftp-b543bd73558810d825fc7b09ff3ea1e2a201b344-orig/Makefile 2013-05-10 06:10:46.230943809 -0430
-+++ git-ftp-b543bd73558810d825fc7b09ff3ea1e2a201b344/Makefile 2013-05-10 06:13:28.864422081 -0430
-@@ -24,12 +24,12 @@
- install -m 0755 $(EXEC_FILES) $(prefix)/bin
-
- install-man:
-- install -d -m 0755 $(prefix)/man
-+ install -d -m 0755 $(prefix)/share/man
- cd man && \
- make man && \
-- install -d -m 0755 $(prefix)/man/man1 && \
-- install -m 0644 $(MAN_FILE) $(prefix)/man/man1 && \
-- mandb $(prefix)/man/man1
-+ install -d -m 0755 $(prefix)/share/man/man1 && \
-+ install -m 0644 $(MAN_FILE) $(prefix)/share/man/man1 && \
-+ mandb $(prefix)/share/man/man1
-
- install-all: install install-man
-
diff --git a/git-ftp.spec b/git-ftp.spec
index cd29999..bcad31c 100644
--- a/git-ftp.spec
+++ b/git-ftp.spec
@@ -1,41 +1,41 @@
-Name: git-ftp
+Name: git-ftp
Version: 1.6.0
Release: %autorelease
Summary: Git powered FTP client written as shell script
-# Automatically converted from old format: GPLv3 - review is highly recommended.
-License: GPL-3.0-only
+License: GPL-3.0-only
URL: https://github.com/git-ftp
Source0: https://github.com/git-ftp/git-ftp/archive/%{name}-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: make
BuildRequires: pandoc
-BuildRequires: man-db
-BuildRequires: make
+Requires: curl
Requires: git
-Requires: curl
%description
-A shell script for pushing git tracked changed files to a
+A shell script for pushing git tracked changed files to a
remote host by FTP
%prep
-%setup -qn %{name}-%{version}
+%autosetup -n %{name}-%{version}
+# Avoid running mandb which creates CACHEDIR.TAG and is not allowed/needed in Fedora packages
+sed -i '/mandb/d' Makefile
%build
-#Nothing to build
-
+# Nothing to build
%install
-make install-all bindir=%{buildroot}%{_bindir} mandir=%{buildroot}%{_mandir}/man1
+make install-all bindir=%{buildroot}%{_bindir} mandir=%{buildroot}%{_mandir}/man1
%check
-# The testing environment expects to have Xampp installed
+# The testing environment expects to have Xampp installed
# not applicable in this case
%files
-%doc LICENSE README.md AUTHORS CHANGELOG.md
+%license LICENSE
+%doc README.md AUTHORS CHANGELOG.md
%{_bindir}/%{name}
%{_mandir}/man1/git-ftp.1*
-%exclude %{_mandir}/man1/CACHEDIR.TAG.gz
%changelog
%autochangelog
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-06 5:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-06 5:50 [rpms/git-ftp] rawhide: spec cleanup and modernization Filipe Rosset
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox