# Generated by go2rpm %bcond_without check # https://github.com/facebookarchive/inject %global goipath github.com/facebookarchive/inject %global commit f23751cae28bef101a38b79266785d3b574cf7e8 %gometa %global goaltipaths github.com/facebookgo/inject %global common_description %{expand: Package inject provides a reflect based injector. A large application built with dependency injection in mind will typically involve the boring work of setting up the object graph. This library attempts to take care of this boring work by creating and connecting the various objects. Its use involves you seeding the object graph with some (possibly incomplete) objects, where the underlying types have been tagged for injection. Given this, the library will populate the objects creating new ones as necessary. It uses singletons by default, supports optional private instances as well as named instances. It works using Go's reflection package and is inherently limited in what it can do as opposed to a code-gen system with respect to private fields.} %global golicenses license %global godocs readme.md Name: %{goname} Version: 0 Release: 0.3%{?dist} Summary: Reflect based injector License: MIT URL: %{gourl} Source0: %{gosource} BuildRequires: golang(github.com/facebookgo/structtag) %description %{common_description} %gopkg %prep %goprep %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog * Tue Jun 04 14:20:51 CEST 2019 Robert-André Mauchin - 0-0.3.20190322gitf23751ca - Update to new macros * Thu Mar 28 2019 Nathan Scott - 0-0.2.20190322gitf23751ca - Add a subpackage for the non-archived import path as well * Fri Mar 22 2019 Mark Goodwin - 0-0.1.20190322gitf23751ca - First package for Fedora