Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1483350 Details for
Bug 1625593
Review Request: rubygem-octocatalog-diff - Compare puppet catalogs
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
.spec file with tests enabled
rubygem-octocatalog-diff.spec (text/plain), 3.49 KB, created by
Vít Ondruch
on 2018-09-14 14:45:20 UTC
(
hide
)
Description:
.spec file with tests enabled
Filename:
MIME Type:
Creator:
Vít Ondruch
Created:
2018-09-14 14:45:20 UTC
Size:
3.49 KB
patch
obsolete
># Generated from octocatalog-diff-1.5.3.gem by gem2rpm -*- rpm-spec -*- >%global gem_name octocatalog-diff > >Name: rubygem-%{gem_name} >Version: 1.5.3 >Release: 2%{?dist} >Summary: Compile Puppet catalogs from 2 branches, versions, etc., and compare them ># octocatalog-diff has an MIT license however an external library pson is included ># which is lifted and modified from puppet itself. More details available in ># lib/octocatalog-diff/external/pson/README.md >License: MIT and ASL 2.0 >URL: https://github.com/github/octocatalog-diff >Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem ># git clone https://github.com/github/octocatalog-diff.git && cd octocatalog-diff ># git checkout 1.5.3 && tar czvf rubygem-octocatalog-diff-1.5.3-spec.tar.gz spec/ >Source1: %{name}-%{version}-spec.tar.gz ># git clone https://github.com/github/octocatalog-diff.git && cd octocatalog-diff ># git checkout 1.5.3 && tar czvf rubygem-octocatalog-diff-1.5.3-script.tar.gz script/ >Source2: %{name}-%{version}-script.tar.gz >BuildRequires: ruby(release) >BuildRequires: rubygems-devel >BuildRequires: ruby >= 2.0.0 >BuildRequires: rubygem(diffy) >BuildRequires: rubygem(hashdiff) >BuildRequires: rubygem(httparty) >BuildRequires: rubygem(parallel) >BuildRequires: rubygem(rspec) >BuildRequires: rubygem(rugged) >BuildRequires: %{_bindir}/git >BuildRequires: %{_bindir}/puppet >BuildArch: noarch > >%description >Octocatalog-Diff assists with Puppet development and testing by enabling the >user to compile 2 Puppet catalogs and compare them. It is possible to >compare different branches, different versions, and different fact values. >This is intended to be run from a local development environment or in CI. > >%package doc >Summary: Documentation for %{name} >Requires: %{name} = %{version}-%{release} >BuildArch: noarch > >%description doc >Documentation for %{name}. > >%prep >%setup -n %{gem_name}-%{version} -b 1 -b 2 >gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec > >%build ># Create the gem as gem install only works on a gem file >gem build %{gem_name}.gemspec > ># %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir ># by default, so that we can move it into the buildroot in %%install >%gem_install > >%install >mkdir -p %{buildroot}%{gem_dir} >cp -a .%{gem_dir}/* \ > %{buildroot}%{gem_dir}/ > > >mkdir -p %{buildroot}%{_bindir} >cp -pa .%{_bindir}/* \ > %{buildroot}%{_bindir}/ > >find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x >find %{buildroot}%{gem_instdir}/scripts -type f | xargs chmod a+x > >%check >pushd .%{gem_instdir} >cp -a %{_builddir}/spec spec >#cp -a %{_builddir}/script script > ># rspec-retry is not available in Fedora yet. >sed -i "/require 'rspec\/retry'/ s/^/#/" spec/octocatalog-diff/tests/spec_helper.rb >sed -i "/# Enable rspec-retry/,/^end$/ s/^/#/" spec/octocatalog-diff/tests/spec_helper.rb > >sed -i "s|'../../../script/puppet'|'%{_bindir}/puppet'|" spec/octocatalog-diff/tests/spec_helper.rb > >PUPPET_VERSION=5.5.1 rspec spec >popd > > >%files >%dir %{gem_instdir} >%{_bindir}/octocatalog-diff >%exclude %{gem_instdir}/.version >%license %{gem_instdir}/LICENSE >%license %{gem_instdir}/lib/%{gem_name}/external/pson/LICENSE >%{gem_instdir}/bin >%{gem_libdir} >%{gem_instdir}/scripts >%exclude %{gem_cache} >%{gem_spec} > >%files doc >%doc %{gem_docdir} >%doc %{gem_instdir}/README.md >%doc %{gem_instdir}/doc > >%changelog >* Tue Sep 11 2018 Steve Traylen <steve.traylen@cern.ch> - 1.5.3-2 >- Specify secondary ASL 2.0 license of external/pson lib. >- Use %%autosetup of gem file. > >* Wed Sep 05 2018 Steve Traylen <steve.traylen@cern.ch> - 1.5.3-1 >- Initial package
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1625593
: 1483350