[packages/git-core] - updated noarch rules - moved git-m4(1) man page to proper package - dropped overglobbing from -ema
qboosh
qboosh at pld-linux.org
Sun Jan 10 14:16:16 CET 2021
commit cfe5bf901d7dbcba757ddbd2d9a1cbcf1c7be6e5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jan 10 14:16:18 2021 +0100
- updated noarch rules
- moved git-m4(1) man page to proper package
- dropped overglobbing from -email files
git-core.spec | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)
---
diff --git a/git-core.spec b/git-core.spec
index d0a7e04..a7b15fd 100644
--- a/git-core.spec
+++ b/git-core.spec
@@ -156,9 +156,7 @@ katalogu.
Summary: Documentation for git-core
Summary(pl.UTF-8): Dokumentacja do git-core
Group: Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description doc
Documentation for git-core.
@@ -223,9 +221,7 @@ Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: tk
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description gitk
gitk displays changes in a repository or a selected set of commits.
@@ -391,9 +387,7 @@ Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gita
Group: Applications/Shells
Requires: %{name} = %{version}-%{release}
Requires: bash-completion >= 2.0
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description -n bash-completion-git
This package provides bash-completion for git.
@@ -406,9 +400,7 @@ Summary: Perl interface to the Git version control system
Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git
Group: Development/Languages/Perl
Obsoletes: perl-git-core
-%if "%{_rpmversion}" >= "5"
-BuildArch: noarch
-%endif
+%{?noarchpackage}
%description -n perl-Git
This module provides Perl scripts easy way to interface the Git
@@ -711,8 +703,9 @@ fi
%exclude %{_mandir}/man1/git-archimport.1*
%exclude %{_mandir}/man1/git-svn.1*
%exclude %{_mandir}/man1/git-cvs*.1*
-%exclude %{_mandir}/man1/git-imap-send*.1*
-%exclude %{_mandir}/man1/*email*.1*
+%exclude %{_mandir}/man1/git-imap-send.1*
+%exclude %{_mandir}/man1/git-p4.1*
+%exclude %{_mandir}/man1/git-send-email.1*
%{_mandir}/man1/git.1*
%{_mandir}/man5/gitattributes.5*
%{_mandir}/man5/githooks.5*
@@ -885,6 +878,9 @@ fi
%defattr(644,root,root,755)
%attr(755,root,root) %{gitcoredir}/git-p4
%attr(755,root,root) %{gitcoredir}/mergetools/p4merge
+%if %{with doc}
+%{_mandir}/man1/git-p4.1*
+%endif
%files svn
%defattr(644,root,root,755)
@@ -898,10 +894,10 @@ fi
%files email
%defattr(644,root,root,755)
%attr(755,root,root) %{gitcoredir}/git-imap-send
-%attr(755,root,root) %{gitcoredir}/*email*
+%attr(755,root,root) %{gitcoredir}/git-send-email
%if %{with doc}
-%{_mandir}/man1/*email*.1*
-%{_mandir}/man1/*imap-send*.1*
+%{_mandir}/man1/git-imap-send.1*
+%{_mandir}/man1/git-send-email.1*
%endif
%files -n bash-completion-git
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/cfe5bf901d7dbcba757ddbd2d9a1cbcf1c7be6e5
More information about the pld-cvs-commit
mailing list