[packages/git-bridgesvn] rebuild noarch

glen glen at pld-linux.org
Tue Feb 23 20:14:27 CET 2016


commit a3df3df207f078320afde5d5b59fcd600d490124
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Feb 23 21:13:09 2016 +0200

    rebuild noarch

 git-bridgesvn.spec | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/git-bridgesvn.spec b/git-bridgesvn.spec
index 9fc9026..d373f3b 100644
--- a/git-bridgesvn.spec
+++ b/git-bridgesvn.spec
@@ -1,19 +1,21 @@
+%define		rel		3
 Summary:	git-bridgesvn - a git-svn without altering the commit hashes
 Name:		git-bridgesvn
 Version:	0.1
-Release:	0.20120109.2
+Release:	0.20120109.%{rel}
 License:	LGPL v2+
 Group:		Development/Version Control
 Source0:	%{name}.tar.gz
 # Source0-md5:	51b90ae4f91de5077d2977214f06e7c5
 URL:		https://github.com/boris-unterer/Git-SVN-Bridge/
-BuildRequires:	git-core
+BuildRequires:	git-core >= 2.7.1-3
 Requires:	git-core
 Requires:	perl-Encode
 Requires:	perl-subversion
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		git_libdir	%(git --exec-path)
+%define		gitcoredir	%(git --exec-path)
 
 %description
 git-bridgesvn supports a maintainer model, where one maintainer
@@ -27,7 +29,7 @@ repository can be shared with other git users.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -D git-bridgesvn.perl $RPM_BUILD_ROOT%{git_libdir}/git-bridgesvn
+install -Dp git-bridgesvn.perl $RPM_BUILD_ROOT%{gitcoredir}/git-bridgesvn
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -35,4 +37,4 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{git_libdir}/%{name}
+%attr(755,root,root) %{gitcoredir}/%{name}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-bridgesvn.git/commitdiff/a3df3df207f078320afde5d5b59fcd600d490124



More information about the pld-cvs-commit mailing list