%define prerelease faaa223588dd7005e49bf66fa2d19e35c8c4d761 %define import_path github.com/mitchellh/go-fs %define gopath %{_libdir}/golang %define gosrc %{gopath}/src/%{import_path} %define shortcommit %(c=%{prerelease}; echo ${c:0:7}) Summary: FAT Filesystem Library for Go Name: golang-mitchellh-go-fs Version: 0.20130816 Release: %mkrel 4 License: MIT Group: Development/Other Url: https://%{import_path} Source0: https://%{import_path}/archive/%{prerelease}.tar.gz Provides: golang(%{import_path}) = %{version}-%{release} %description This library implements the ability to create, read, and write FAT file systems using pure Go. %prep %setup -q -n go-fs-%{prerelease} %build %install mkdir -p %{buildroot}%{gosrc} cp -av * %{buildroot}%{gosrc}/ rm -f %{buildroot}%{gosrc}/LICENSE rm -f %{buildroot}%{gosrc}/README.md %files %doc LICENSE %doc README.md %{gosrc}/* %changelog * Wed Oct 15 2014 umeabot <umeabot> 0.20130816-4.mga5 + Revision: 744406 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 0.20130816-3.mga5 + Revision: 679867 - Mageia 5 Mass Rebuild * Sat Dec 21 2013 thatsamguy <thatsamguy> 0.20130816-2.mga4 + Revision: 559424 + rebuild (emptylog) * Fri Oct 25 2013 thatsamguy <thatsamguy> 0.20130816-1.mga4 + Revision: 546840 - imported package golang-mitchellh-go-fs