]> git.pld-linux.org Git - packages/dnf-plugin-diff.git/commitdiff
- new
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Mar 2021 15:16:08 +0000 (16:16 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 14 Mar 2021 15:16:08 +0000 (16:16 +0100)
dnf-plugin-diff.spec [new file with mode: 0644]

diff --git a/dnf-plugin-diff.spec b/dnf-plugin-diff.spec
new file mode 100644 (file)
index 0000000..3bb749c
--- /dev/null
@@ -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__/*
This page took 0.081016 seconds and 4 git commands to generate.