remove two stray %defattr macros from %%files sections

All %defattr macros were removed in ff200ca (Remove obsolete %defattr,
2018-02-07).  Two were subsequently added in f8a83b9 (Move instaweb to a
subpackage, 2018-09-06) and 9d91bab (split libsecret credential helper
into a subpackage (#1804741), 2020-02-19).

Remove both entries and (hopefully) avoid adding new entries in the
future.
This commit is contained in:
Todd Zullinger 2021-04-06 09:58:48 -04:00
parent e4b60c52ef
commit 7e7f589af7

View File

@ -97,7 +97,7 @@
Name: git Name: git
Version: 2.31.1 Version: 2.31.1
Release: 1%{?rcrev}%{?dist} Release: 2%{?rcrev}%{?dist}
Summary: Fast Version Control System Summary: Fast Version Control System
License: GPLv2 License: GPLv2
URL: https://git-scm.com/ URL: https://git-scm.com/
@ -964,7 +964,6 @@ rmdir --ignore-fail-on-non-empty "$testdir"
%if %{with libsecret} %if %{with libsecret}
%files credential-libsecret %files credential-libsecret
%defattr(-,root,root)
%{gitexecdir}/git-credential-libsecret %{gitexecdir}/git-credential-libsecret
%endif %endif
# endif with libsecret # endif with libsecret
@ -1036,7 +1035,6 @@ rmdir --ignore-fail-on-non-empty "$testdir"
%{?with_docs:%{_pkgdocdir}/git-citool.html} %{?with_docs:%{_pkgdocdir}/git-citool.html}
%files instaweb %files instaweb
%defattr(-,root,root)
%{gitexecdir}/git-instaweb %{gitexecdir}/git-instaweb
%{_pkgdocdir}/git-instaweb.txt %{_pkgdocdir}/git-instaweb.txt
%{?with_docs:%{_mandir}/man1/git-instaweb.1*} %{?with_docs:%{_mandir}/man1/git-instaweb.1*}
@ -1070,6 +1068,9 @@ rmdir --ignore-fail-on-non-empty "$testdir"
%{?with_docs:%{_pkgdocdir}/git-svn.html} %{?with_docs:%{_pkgdocdir}/git-svn.html}
%changelog %changelog
* Tue Apr 06 2021 Todd Zullinger <tmz@pobox.com> - 2.31.1-2
- remove two stray %%defattr macros from %%files sections
* Sat Mar 27 2021 Todd Zullinger <tmz@pobox.com> - 2.31.1-1 * Sat Mar 27 2021 Todd Zullinger <tmz@pobox.com> - 2.31.1-1
- update to 2.31.1 - update to 2.31.1