Skip to content

Commit eca735b

Browse files
mcepldmach
authored andcommitted
fix(spec): run spec-cleaner -i *.spec
1 parent 267f365 commit eca735b

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

git-obs-hooks.spec

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
%define hook_dir %{_datadir}/git-obs-hooks
12
Name: git-obs-hooks
23
Version: 0.1.0
34
Release: 0
@@ -6,12 +7,8 @@ License: GPL-2.0-or-later
67
Group: Development/Tools/Other
78
URL: https://github.com/dmach/git-obs-hooks
89
Source: https://github.com/dmach/git-obs-hooks/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
9-
1010
BuildRequires: fdupes
1111
BuildArch: noarch
12-
BuildRoot: %{_tmppath}/%{name}-%{version}-build
13-
14-
%define hook_dir %{_datadir}/git-obs-hooks
1512

1613
%description
1714
Framework for running git hooks in git-obs and osc.
@@ -24,8 +21,8 @@ To enable git-obs-hooks in the current git repo, run: install-git-obs-hooks
2421
See githooks(5) man page for more help on the hooks.
2522

2623
%package script-convert-changes
27-
Summary: working script for %{name} converting last record of *.changes to git commit
28-
Requires: %{name} = %{version}
24+
Summary: working script for %{name} converting last record of *.changes to git commit
25+
Requires: %{name} = %{version}
2926

3027
%description script-convert-changes
3128
Working script for %{name}, which causes `git commit` to generate
@@ -90,7 +87,6 @@ done
9087
%fdupes %{buildroot}%{hook_dir}
9188

9289
%files
93-
%defattr(-,root,root,-)
9490
%attr(0755, root, root) %{_bindir}/install-git-obs-hooks
9591
%dir %{hook_dir}
9692
%dir %{hook_dir}/*.d

0 commit comments

Comments
 (0)