[golang-github-gorilla-mux/f21] do not own dirs owned by golang, handle el6 stuff separately

lsm5 lsm5 at fedoraproject.org
Fri Aug 1 01:32:42 UTC 2014


commit 1b7e35ec8c3820ad62ae557c8d974621cc6ca810
Author: Lokesh Mandvekar <lsm5 at fedoraproject.org>
Date:   Thu Jul 31 20:23:51 2014 -0500

    do not own dirs owned by golang, handle el6 stuff separately

 golang-github-gorilla-mux.spec |   18 +++++++-----------
 1 files changed, 7 insertions(+), 11 deletions(-)
---
diff --git a/golang-github-gorilla-mux.spec b/golang-github-gorilla-mux.spec
index ae80587..69b97d0 100644
--- a/golang-github-gorilla-mux.spec
+++ b/golang-github-gorilla-mux.spec
@@ -6,16 +6,12 @@
 
 Name:           golang-github-gorilla-mux
 Version:        0
-Release:        0.14.git%{shortcommit}%{?dist}
+Release:        0.15.git%{shortcommit}%{?dist}
 Summary:        A powerful URL router and dispatcher for golang
 License:        BSD
 URL:            http://www.gorillatoolkit.org/pkg/mux
 Source0:        https://github.com/gorilla/mux/archive/%{commit}/mux-%{shortcommit}.tar.gz
-%if 0%{?fedora} >= 19
 BuildArch:      noarch
-%else
-ExclusiveArch:  %{ix86} x86_64 %{arm}
-%endif
 
 %description
 Package gorilla/mux implements a request router and dispatcher.
@@ -57,16 +53,16 @@ cp -av *.go %{buildroot}/%{gopath}/src/%{import_path}
 GOPATH=%{gopath}:%{buildroot}/%{gopath} go test %{import_path}
 
 %files devel
-%defattr(-,root,root,-)
 %doc LICENSE README.md
-%dir %attr(755,root,root) %{gopath}
-%dir %attr(755,root,root) %{gopath}/src
-%dir %attr(755,root,root) %{gopath}/src/github.com
-%dir %attr(755,root,root) %{gopath}/src/github.com/gorilla
-%dir %attr(755,root,root) %{gopath}/src/github.com/gorilla/mux
+%dir %{gopath}/src/github.com/gorilla
+%dir %{gopath}/src/github.com/gorilla/mux
 %{gopath}/src/%{import_path}/*.go
 
 %changelog
+* Thu Jul 31 2014 Lokesh Mandvekar <lsm5 at fedoraproject.org> - 0-0.15.git
+- do not own dirs owned by golang
+- archfulness and defattr for el6 handled separately
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0-0.14.git136d54f
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list