Skip to content

Commit b912be6

Browse files
committed
rpm: specfile cleanup
- more readable Summary and %description - use '%foo' macros, not '%{foo}' - use %license and %doc - fix (Build)Requires
1 parent 44a15da commit b912be6

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

rpm/dnf-plugin-diff.spec

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,28 @@
33
Name: dnf-plugin-diff
44
Version: 1.1
55
Release: 1%{?dist}
6-
Summary: Diff changes in packages
7-
BuildArch: noarch
6+
Summary: Display local changes in files from installed RPM packages
7+
BuildArch: noarch
88

99
License: GPLv2+
10-
URL: https://github.com/praiskup/%{name}
11-
Source0: https://github.com/praiskup/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
10+
URL: https://github.com/praiskup/%name
11+
Source0: https://github.com/praiskup/%name/archive/v%version/%name-%version.tar.gz
1212

1313
BuildRequires: python3-devel
14+
BuildRequires: make
1415

1516
Requires: cpio
1617
Requires: python3-dnf
18+
Requires: python3-dnf-plugins-core
1719
Requires: file
1820

1921
Provides: dnf-command(diff) = %version
2022

2123

2224
%description
23-
Attempt to diff packages against local changes.
25+
DNF plugin to compare files from the original package contents with locally
26+
available files and display differences in text files, such as configuration
27+
changes or source code (for interpreted languages).
2428

2529

2630
%prep
@@ -37,7 +41,8 @@ Attempt to diff packages against local changes.
3741

3842

3943
%files
40-
%doc
44+
%license COPYING
45+
%doc README
4146
%_libexecdir/dnf-diff-*
4247
%python3_sitelib/dnf-plugins
4348

0 commit comments

Comments
 (0)