https://bugzilla.redhat.com/show_bug.cgi?id=1367033



--- Comment #35 from Muayyad Alsadi <als...@gmail.com> ---
I was able to produce an rpm with %check that validates the build

1. after applying the merged upstream patch (not included in 1.1.3 release)
2. adding the following BR (to make it work for epel too)

%if 0%{?rhel}
BuildRequires:  python34, python34-pytest python34-mock
%else
BuildRequires:  python3, python3-pytest python3-mock
%endif


I've built it on copr

so it's your call now

1. we can go with the above spec which does not validate the build with %check
2. apply the merged upstream patch that fix the tests and ship

here is the new .src.rpm with tests included

https://copr-be.cloud.fedoraproject.org/results/alsadi/dumb-init/fedora-24-x86_64/00448255-dumb-init/dumb-init-1.1.3-9.fc24.src.rpm

the upstream patch

https://gist.githubusercontent.com/muayyad-alsadi/ca4153efc636f761e26b76a186832077/raw/a3de08469e3070a079ee2db0e8c26d4406d94740/dumb-init.fix-test.patch

the updated spec that includes the patch and the 

https://gist.githubusercontent.com/muayyad-alsadi/ca4153efc636f761e26b76a186832077/raw/a3de08469e3070a079ee2db0e8c26d4406d94740/dumb-init.spec

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/package-review@lists.fedoraproject.org

Reply via email to