[packages/diff-so-fancy] new

atler atler at pld-linux.org
Sun Jul 25 01:35:25 CEST 2021


commit 40853e6b6553737d2e2a3dfd727c4cb956d173ec
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jul 25 01:34:38 2021 +0200

    new

 diff-so-fancy.spec | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
---
diff --git a/diff-so-fancy.spec b/diff-so-fancy.spec
new file mode 100644
index 0000000..b5ccf75
--- /dev/null
+++ b/diff-so-fancy.spec
@@ -0,0 +1,38 @@
+Summary:	Good-lookin' diffs. Actually… nah… The best-lookin' diffs
+Name:		diff-so-fancy
+Version:	1.4.2
+Release:	1
+License:	MIT
+Group:		Applications
+Source0:	https://github.com/so-fancy/diff-so-fancy/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	b98082c2c4aca5867c28178368f8475c
+URL:		https://github.com/so-fancy/diff-so-fancy
+BuildRequires:	rpm-perlprov
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+diff-so-fancy strives to make your diffs human readable instead of
+machine readable. This helps improve code quality and helps you spot
+defects faster.
+
+%prep
+%setup -q
+
+%{__sed} -i -e '1s,/usr/bin/env perl,%{__perl},' diff-so-fancy
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{perl_vendorlib}}
+
+cp -p diff-so-fancy $RPM_BUILD_ROOT%{_bindir}
+cp -p lib/DiffHighlight.pm $RPM_BUILD_ROOT%{perl_vendorlib}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md {hacking-and-testing,history,pro-tips}.md
+%attr(755,root,root) %{_bindir}/diff-so-fancy
+%{perl_vendorlib}/DiffHighlight.pm
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/diff-so-fancy.git/commitdiff/40853e6b6553737d2e2a3dfd727c4cb956d173ec



More information about the pld-cvs-commit mailing list