]> git.pld-linux.org Git - packages/dnf-plugin-diff.git/blob - dnf-plugin-diff.spec
3bb749ce04d7d2296b28fb96510461127bf0dde8
[packages/dnf-plugin-diff.git] / dnf-plugin-diff.spec
1 Summary:        Show local changes in RPM packages
2 Name:           dnf-plugin-diff
3 Version:        1.1
4 Release:        1
5 License:        GPL v2+
6 Source0:        https://github.com/praiskup/%name/releases/download/v%version/%name-%version.tar.gz
7 # Source0-md5:  85ecc6d16ff815280715a5dec02e8174
8 URL:            https://github.com/praiskup/dnf-plugin-diff
9 BuildRequires:  python3-modules
10 Requires:       cpio
11 Requires:       dnf
12 Requires:       file
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Dnf plugin to diff the original package contents against the locally
18 changed files.
19
20 %prep
21 %setup -q
22
23 %build
24 %{__aclocal}
25 %{__autoconf}
26 %{__automake}
27 %configure \
28         PYTHON=%{__python3}
29
30 %{__make}
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34
35 %{__make} install \
36         DESTDIR=$RPM_BUILD_ROOT
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README
44 %attr(755,root,root) %{_libexecdir}/dnf-diff-*
45 %{py3_sitescriptdir}/dnf-plugins/*.py
46 %{py3_sitescriptdir}/dnf-plugins/__pycache__/*
This page took 0.064297 seconds and 2 git commands to generate.