diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d7e32cd --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/sync-fd80eb99c8f653c847d294a001bdf2a3a6f768f5.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 5772690..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# golang-x-sync - -The golang-x-sync package \ No newline at end of file diff --git a/golang-x-sync.spec b/golang-x-sync.spec new file mode 100644 index 0000000..49644a1 --- /dev/null +++ b/golang-x-sync.spec @@ -0,0 +1,72 @@ +# Run tests in check section +%bcond_without check + +%global goipath golang.org/x/sync +%global forgeurl https://github.com/golang/sync +%global commit fd80eb99c8f653c847d294a001bdf2a3a6f768f5 + +%global common_description %{expand: +Go concurrency primitives.} + +%gometa + +Name: %{goname} +Version: 0 +Release: 0.3%{?dist} +Summary: Go concurrency primitives +License: BSD +URL: %{gourl} +Source: %{gosource} + +BuildRequires: golang(golang.org/x/net/context) + +%description +%{common_description} + + +%package devel +Summary: %{summary} +BuildArch: noarch + +Provides: golang-github-golang-sync-devel = %{version}-%{release} +Obsoletes: golang-github-golang-sync-devel < 0-0.3.20180314gitfd80eb9 + +%description devel +%{common_description} + +This package contains the source code needed for building packages that import +the %{goipath} Go namespace. + + +%prep +%gosetup -q + + +%install +%goinstall + + +%if %{with check} +%check +%gochecks +%endif + + +%files devel -f devel.file-list +%license LICENSE +%doc README.md PATENTS CONTRIBUTORS CONTRIBUTING.md AUTHORS + + +%changelog +* Thu Mar 08 2018 Robert-André Mauchin - 0-0.3.20180316gitfd80eb9 +- Update with the new Go packaging + +* Wed Feb 07 2018 Fedora Release Engineering - 0-0.2.20171101gitfd80eb9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Dec 07 2017 Robert-André Mauchin - 0-0.1.20171101gitfd80eb9 +- Upstream GIT revision fd80eb9 + +* Mon Jul 24 2017 Robert-André Mauchin - 0-0.1.20170517gitf52d181 +- First package for Fedora + diff --git a/sources b/sources new file mode 100644 index 0000000..69ae310 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (sync-fd80eb99c8f653c847d294a001bdf2a3a6f768f5.tar.gz) = fd051f9c839cd1f74673a2a7dc5cac6d6cce51371c3c6a21cbced58a7902f056522055e9c324d9d637539e49cfc59d0a2ac7725804f6e833be052b706f9265f0