public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/git-ftp] rawhide: spec cleanup and modernization
Date: Sat, 06 Jun 2026 05:50:10 GMT	[thread overview]
Message-ID: <178072501029.1.91230969363166062.rpms-git-ftp-8ac04ead817e@fedoraproject.org> (raw)

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
+

                 reply	other threads:[~2026-06-06  5:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178072501029.1.91230969363166062.rpms-git-ftp-8ac04ead817e@fedoraproject.org \
    --to=rosset.filipe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox