[packages/dnf-plugin-diff] - new
baggins
baggins at pld-linux.org
Sun Mar 14 16:16:27 CET 2021
commit ea8a12a6e84ad36cccdeacb293fe8fcb6dfa2bb0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Mar 14 16:16:08 2021 +0100
- new
dnf-plugin-diff.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
---
diff --git a/dnf-plugin-diff.spec b/dnf-plugin-diff.spec
new file mode 100644
index 0000000..3bb749c
--- /dev/null
+++ b/dnf-plugin-diff.spec
@@ -0,0 +1,46 @@
+Summary: Show local changes in RPM packages
+Name: dnf-plugin-diff
+Version: 1.1
+Release: 1
+License: GPL v2+
+Source0: https://github.com/praiskup/%name/releases/download/v%version/%name-%version.tar.gz
+# Source0-md5: 85ecc6d16ff815280715a5dec02e8174
+URL: https://github.com/praiskup/dnf-plugin-diff
+BuildRequires: python3-modules
+Requires: cpio
+Requires: dnf
+Requires: file
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dnf plugin to diff the original package contents against the locally
+changed files.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+ PYTHON=%{__python3}
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_libexecdir}/dnf-diff-*
+%{py3_sitescriptdir}/dnf-plugins/*.py
+%{py3_sitescriptdir}/dnf-plugins/__pycache__/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dnf-plugin-diff.git/commitdiff/ea8a12a6e84ad36cccdeacb293fe8fcb6dfa2bb0
More information about the pld-cvs-commit
mailing list