|
|
ade197 |
%if (0%{?fedora} > 0 && 0%{?fedora} < 32) || (0%{?rhel} > 0 && 0%{?rhel} < 9)
|
|
|
ade197 |
%bcond_without python2
|
|
|
ade197 |
%else
|
|
|
ade197 |
%bcond_with python2
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%if 0%{?fedora} || 0%{?rhel} >= 8
|
|
|
ade197 |
%bcond_without python3
|
|
|
ade197 |
%else
|
|
|
ade197 |
%bcond_with python3
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
Name: subunit
|
|
|
ade197 |
Version: 1.4.0
|
|
|
ade197 |
Release: 6%{?dist}
|
|
|
ade197 |
Summary: C bindings for subunit
|
|
|
ade197 |
|
|
|
ade197 |
%global majver %(cut -d. -f-2 <<< %{version})
|
|
|
ade197 |
|
|
|
ade197 |
License: ASL 2.0 or BSD
|
|
|
ade197 |
URL: https://launchpad.net/%{name}
|
|
|
ade197 |
Source0: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz
|
|
|
ade197 |
Source1: https://launchpad.net/%{name}/trunk/%{version}/+download/%{name}-%{version}.tar.gz.asc
|
|
|
ade197 |
# Public key for Jelmer Vernooij <jelmer@jelmer.uk>
|
|
|
ade197 |
Source2: gpgkey-B23862C415D6565A4E86CBD7579C160D4C9E23E8.gpg
|
|
|
ade197 |
|
|
|
ade197 |
BuildRequires: gcc-c++
|
|
|
ade197 |
BuildRequires: gnupg2
|
|
|
ade197 |
BuildRequires: libtool
|
|
|
ade197 |
BuildRequires: make
|
|
|
ade197 |
BuildRequires: perl-generators
|
|
|
ade197 |
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
ade197 |
BuildRequires: pkgconfig
|
|
|
ade197 |
BuildRequires: pkgconfig(check)
|
|
|
ade197 |
BuildRequires: pkgconfig(cppunit)
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python2}
|
|
|
ade197 |
BuildRequires: python2-devel
|
|
|
ade197 |
BuildRequires: python2-docutils
|
|
|
ade197 |
BuildRequires: python2-extras
|
|
|
ade197 |
BuildRequires: python2-fixtures
|
|
|
ade197 |
BuildRequires: python2-hypothesis
|
|
|
ade197 |
BuildRequires: python2-setuptools
|
|
|
ade197 |
BuildRequires: python2-testscenarios
|
|
|
ade197 |
BuildRequires: python2-testtools >= 1.8.0
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
BuildRequires: python3-devel
|
|
|
ade197 |
BuildRequires: %{py3_dist docutils}
|
|
|
ade197 |
BuildRequires: %{py3_dist extras}
|
|
|
ade197 |
BuildRequires: %{py3_dist fixtures}
|
|
|
ade197 |
BuildRequires: %{py3_dist hypothesis}
|
|
|
ade197 |
BuildRequires: %{py3_dist setuptools}
|
|
|
ade197 |
BuildRequires: %{py3_dist testscenarios}
|
|
|
ade197 |
BuildRequires: %{py3_dist testtools} >= 1.8.0
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%description
|
|
|
ade197 |
Subunit C bindings. See the python-subunit package for test processing
|
|
|
ade197 |
functionality.
|
|
|
ade197 |
|
|
|
ade197 |
%package devel
|
|
|
ade197 |
Summary: Header files for developing C applications that use subunit
|
|
|
ade197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
ade197 |
|
|
|
ade197 |
%description devel
|
|
|
ade197 |
Header files and libraries for developing C applications that use subunit.
|
|
|
ade197 |
|
|
|
ade197 |
%package cppunit
|
|
|
ade197 |
Summary: Subunit integration into cppunit
|
|
|
ade197 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
ade197 |
|
|
|
ade197 |
%description cppunit
|
|
|
ade197 |
Subunit integration into cppunit.
|
|
|
ade197 |
|
|
|
ade197 |
%package cppunit-devel
|
|
|
ade197 |
Summary: Header files for applications that use cppunit and subunit
|
|
|
ade197 |
Requires: %{name}-cppunit%{?_isa} = %{version}-%{release}
|
|
|
ade197 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
ade197 |
Requires: cppunit-devel%{?_isa}
|
|
|
ade197 |
|
|
|
ade197 |
%description cppunit-devel
|
|
|
ade197 |
Header files and libraries for developing applications that use cppunit
|
|
|
ade197 |
and subunit.
|
|
|
ade197 |
|
|
|
ade197 |
%package perl
|
|
|
ade197 |
Summary: Perl bindings for subunit
|
|
|
ade197 |
BuildArch: noarch
|
|
|
ade197 |
Requires: perl(:MODULE_COMPAT_%{perl_version})
|
|
|
ade197 |
|
|
|
ade197 |
%description perl
|
|
|
ade197 |
Subunit perl bindings. See the python-subunit package for test
|
|
|
ade197 |
processing functionality.
|
|
|
ade197 |
|
|
|
ade197 |
%package shell
|
|
|
ade197 |
Summary: Shell bindings for subunit
|
|
|
ade197 |
BuildArch: noarch
|
|
|
ade197 |
|
|
|
ade197 |
%description shell
|
|
|
ade197 |
Subunit shell bindings. See the python-subunit package for test
|
|
|
ade197 |
processing functionality.
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python2}
|
|
|
ade197 |
%package -n python2-%{name}
|
|
|
ade197 |
Summary: Streaming protocol for test results
|
|
|
ade197 |
BuildArch: noarch
|
|
|
ade197 |
Requires: python2-extras
|
|
|
ade197 |
Requires: python2-testtools >= 1.8.0
|
|
|
ade197 |
Provides: bundled(python2-iso8601) = 0.1.4
|
|
|
ade197 |
|
|
|
ade197 |
%description -n python2-%{name}
|
|
|
ade197 |
Subunit is a streaming protocol for test results. The protocol is a
|
|
|
ade197 |
binary encoding that is easily generated and parsed. By design all the
|
|
|
ade197 |
components of the protocol conceptually fit into the xUnit TestCase ->
|
|
|
ade197 |
TestResult interaction.
|
|
|
ade197 |
|
|
|
ade197 |
Subunit comes with command line filters to process a subunit stream and
|
|
|
ade197 |
language bindings for python, C, C++ and shell. Bindings are easy to
|
|
|
ade197 |
write for other languages.
|
|
|
ade197 |
|
|
|
ade197 |
A number of useful things can be done easily with subunit:
|
|
|
ade197 |
- Test aggregation: Tests run separately can be combined and then
|
|
|
ade197 |
reported/displayed together. For instance, tests from different
|
|
|
ade197 |
languages can be shown as a seamless whole.
|
|
|
ade197 |
- Test archiving: A test run may be recorded and replayed later.
|
|
|
ade197 |
- Test isolation: Tests that may crash or otherwise interact badly with
|
|
|
ade197 |
each other can be run separately and then aggregated, rather than
|
|
|
ade197 |
interfering with each other.
|
|
|
ade197 |
- Grid testing: subunit can act as the necessary serialization and
|
|
|
ade197 |
deserialization to get test runs on distributed machines to be
|
|
|
ade197 |
reported in real time.
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
%package -n python3-%{name}
|
|
|
ade197 |
Summary: Streaming protocol for test results
|
|
|
ade197 |
BuildArch: noarch
|
|
|
ade197 |
%if %{with python2}
|
|
|
ade197 |
Requires: python3-extras
|
|
|
ade197 |
Requires: python3-testtools >= 1.8.0
|
|
|
ade197 |
%endif
|
|
|
ade197 |
Provides: bundled(python3-iso8601) = 0.1.4
|
|
|
ade197 |
|
|
|
ade197 |
%description -n python3-%{name}
|
|
|
ade197 |
Subunit is a streaming protocol for test results. The protocol is a
|
|
|
ade197 |
binary encoding that is easily generated and parsed. By design all the
|
|
|
ade197 |
components of the protocol conceptually fit into the xUnit TestCase ->
|
|
|
ade197 |
TestResult interaction.
|
|
|
ade197 |
|
|
|
ade197 |
Subunit comes with command line filters to process a subunit stream and
|
|
|
ade197 |
language bindings for python, C, C++ and shell. Bindings are easy to
|
|
|
ade197 |
write for other languages.
|
|
|
ade197 |
|
|
|
ade197 |
A number of useful things can be done easily with subunit:
|
|
|
ade197 |
- Test aggregation: Tests run separately can be combined and then
|
|
|
ade197 |
reported/displayed together. For instance, tests from different
|
|
|
ade197 |
languages can be shown as a seamless whole.
|
|
|
ade197 |
- Test archiving: A test run may be recorded and replayed later.
|
|
|
ade197 |
- Test isolation: Tests that may crash or otherwise interact badly with
|
|
|
ade197 |
each other can be run separately and then aggregated, rather than
|
|
|
ade197 |
interfering with each other.
|
|
|
ade197 |
- Grid testing: subunit can act as the necessary serialization and
|
|
|
ade197 |
deserialization to get test runs on distributed machines to be
|
|
|
ade197 |
reported in real time.
|
|
|
ade197 |
|
|
|
ade197 |
%package -n python3-%{name}-test
|
|
|
ade197 |
Summary: Test code for the python 3 subunit bindings
|
|
|
ade197 |
BuildArch: noarch
|
|
|
ade197 |
Requires: python3-%{name} = %{version}-%{release}
|
|
|
ade197 |
Requires: %{name}-filters = %{version}-%{release}
|
|
|
ade197 |
|
|
|
ade197 |
%description -n python3-%{name}-test
|
|
|
ade197 |
%{summary}.
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%package filters
|
|
|
ade197 |
Summary: Command line filters for processing subunit streams
|
|
|
ade197 |
BuildArch: noarch
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
Requires: python3-%{name} = %{version}-%{release}
|
|
|
ade197 |
Requires: python3-gobject
|
|
|
ade197 |
Requires: gtk3 >= 3.20
|
|
|
ade197 |
Requires: libnotify >= 0.7.7
|
|
|
ade197 |
Requires: %{py3_dist junitxml}
|
|
|
ade197 |
%else
|
|
|
ade197 |
Requires: python2-%{name} = %{version}-%{release}
|
|
|
ade197 |
Requires: pygtk2
|
|
|
ade197 |
Requires: python2-junitxml
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%description filters
|
|
|
ade197 |
Command line filters for processing subunit streams.
|
|
|
ade197 |
|
|
|
ade197 |
%package static
|
|
|
ade197 |
Summary: Static C library for subunit
|
|
|
ade197 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
ade197 |
|
|
|
ade197 |
%description static
|
|
|
ade197 |
Subunit C bindings in a static library, for building statically linked
|
|
|
ade197 |
test cases.
|
|
|
ade197 |
|
|
|
ade197 |
|
|
|
ade197 |
%prep
|
|
|
ade197 |
%autosetup -p1
|
|
|
ade197 |
|
|
|
ade197 |
# Verify the source file
|
|
|
ade197 |
%{gpgverify} --keyring=%{SOURCE2} --signature=%{SOURCE1} --data=%{SOURCE0}
|
|
|
ade197 |
|
|
|
ade197 |
fixtimestamp() {
|
|
|
ade197 |
touch -r $1.orig $1
|
|
|
ade197 |
rm $1.orig
|
|
|
ade197 |
}
|
|
|
ade197 |
|
|
|
ade197 |
# Fix underlinked library
|
|
|
ade197 |
sed "/^tests_LDADD/ilibcppunit_subunit_la_LIBADD = -lcppunit libsubunit.la\n" \
|
|
|
ade197 |
-i Makefile.am
|
|
|
ade197 |
|
|
|
ade197 |
# Depend on versioned python
|
|
|
ade197 |
sed -i.orig 's,%{_bindir}/python,&2,' python/subunit/run.py
|
|
|
ade197 |
fixtimestamp python/subunit/run.py
|
|
|
ade197 |
|
|
|
ade197 |
# Do not use env
|
|
|
ade197 |
for fil in $(grep -Frl "%{_bindir}/env python"); do
|
|
|
ade197 |
sed -i.orig 's,%{_bindir}/env python,%{_bindir}/python2,' $fil
|
|
|
ade197 |
fixtimestamp $fil
|
|
|
ade197 |
done
|
|
|
ade197 |
|
|
|
ade197 |
# Generate the configure script
|
|
|
ade197 |
autoreconf -fi
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
# Prepare to build for python 3
|
|
|
ade197 |
cp -a ../%{name}-%{version} ../python3
|
|
|
ade197 |
mv ../python3 .
|
|
|
ade197 |
pushd python3
|
|
|
ade197 |
for fil in $(grep -Frl "%{_bindir}/python2"); do
|
|
|
ade197 |
sed -i.orig 's,\(%{_bindir}/python\)2,\13,' $fil
|
|
|
ade197 |
fixtimestamp $fil
|
|
|
ade197 |
done
|
|
|
ade197 |
popd
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%build
|
|
|
ade197 |
export INSTALLDIRS=perl
|
|
|
ade197 |
|
|
|
ade197 |
# Build for python2
|
|
|
ade197 |
%if %{with python2}
|
|
|
ade197 |
export PYTHON=%{_bindir}/python2
|
|
|
ade197 |
%configure --enable-shared --enable-static
|
|
|
ade197 |
|
|
|
ade197 |
# Get rid of undesirable hardcoded rpaths; workaround libtool reordering
|
|
|
ade197 |
# -Wl,--as-needed after all the libraries.
|
|
|
ade197 |
sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
ade197 |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
ade197 |
-e 's|CC=.g..|& -Wl,--as-needed|' \
|
|
|
ade197 |
-i libtool
|
|
|
ade197 |
|
|
|
ade197 |
%make_build
|
|
|
ade197 |
%py2_build
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
# Build for python3
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
pushd python3
|
|
|
ade197 |
export PYTHON=%{_bindir}/python3
|
|
|
ade197 |
%configure --enable-shared --enable-static
|
|
|
ade197 |
|
|
|
ade197 |
# Get rid of undesirable hardcoded rpaths; workaround libtool reordering
|
|
|
ade197 |
# -Wl,--as-needed after all the libraries.
|
|
|
ade197 |
sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
|
|
|
ade197 |
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
|
|
|
ade197 |
-e 's|CC=.g..|& -Wl,--as-needed|' \
|
|
|
ade197 |
-i libtool
|
|
|
ade197 |
|
|
|
ade197 |
%make_build
|
|
|
ade197 |
%py3_build
|
|
|
ade197 |
popd
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%install
|
|
|
ade197 |
# Install for python 2 first so that the python 3 install overwrites files
|
|
|
ade197 |
%if %{with python2}
|
|
|
ade197 |
%py2_install
|
|
|
ade197 |
|
|
|
ade197 |
# Patch the test code to look for filters in _bindir
|
|
|
ade197 |
sed -i "s|root, 'filters'|'/usr', 'bin'|" \
|
|
|
ade197 |
%{buildroot}%{python2_sitelib}/%{name}/tests/test_subunit_filter.py
|
|
|
ade197 |
|
|
|
ade197 |
# We set pkgpython_PYTHON for efficiency to disable automake python compilation
|
|
|
ade197 |
%make_install pkgpython_PYTHON='' INSTALL="%{_bindir}/install -p"
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
pushd python3
|
|
|
ade197 |
%py3_install
|
|
|
ade197 |
chmod 0755 %{buildroot}%{python3_sitelib}/%{name}/run.py
|
|
|
ade197 |
chmod 0755 %{buildroot}%{python3_sitelib}/%{name}/tests/sample-script.py
|
|
|
ade197 |
chmod 0755 %{buildroot}%{python3_sitelib}/%{name}/tests/sample-two-script.py
|
|
|
ade197 |
|
|
|
ade197 |
# Patch the test code to look for filters in _bindir
|
|
|
ade197 |
sed -i "s|root, 'filters'|'/usr', 'bin'|" \
|
|
|
ade197 |
%{buildroot}%{python3_sitelib}/%{name}/tests/test_subunit_filter.py
|
|
|
ade197 |
|
|
|
ade197 |
# We set pkgpython_PYTHON for efficiency to disable automake python compilation
|
|
|
ade197 |
%make_install pkgpython_PYTHON='' INSTALL="%{_bindir}/install -p"
|
|
|
ade197 |
popd
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
# Install the shell interface
|
|
|
ade197 |
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
|
|
|
ade197 |
cp -p shell/share/%{name}.sh %{buildroot}%{_sysconfdir}/profile.d
|
|
|
ade197 |
|
|
|
ade197 |
# Remove unwanted libtool files
|
|
|
ade197 |
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
ade197 |
|
|
|
ade197 |
# Fix perl installation
|
|
|
ade197 |
mkdir -p %{buildroot}%{perl_vendorlib}
|
|
|
ade197 |
mv %{buildroot}%{perl_privlib}/Subunit* %{buildroot}%{perl_vendorlib}
|
|
|
ade197 |
rm -fr %{buildroot}%{perl_archlib}
|
|
|
ade197 |
|
|
|
ade197 |
# Fix permissions
|
|
|
ade197 |
%if %{with python2}
|
|
|
ade197 |
chmod 0755 %{buildroot}%{python2_sitelib}/%{name}/run.py
|
|
|
ade197 |
%endif
|
|
|
ade197 |
chmod 0755 %{buildroot}%{_bindir}/subunit-diff
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
chmod 0755 %{buildroot}%{python3_sitelib}/%{name}/tests/sample-script.py
|
|
|
ade197 |
chmod 0755 %{buildroot}%{python3_sitelib}/%{name}/tests/sample-two-script.py
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
# Fix timestamps
|
|
|
ade197 |
touch -r c/include/%{name}/child.h %{buildroot}%{_includedir}/%{name}/child.h
|
|
|
ade197 |
touch -r c++/SubunitTestProgressListener.h \
|
|
|
ade197 |
%{buildroot}%{_includedir}/%{name}/SubunitTestProgressListener.h
|
|
|
ade197 |
touch -r perl/subunit-diff %{buildroot}%{_bindir}/subunit-diff
|
|
|
ade197 |
for fil in filters/*; do
|
|
|
ade197 |
touch -r $fil %{buildroot}%{_bindir}/$(basename $fil)
|
|
|
ade197 |
done
|
|
|
ade197 |
|
|
|
ade197 |
%check
|
|
|
ade197 |
%if %{with python2} && 0%{?!disable_tests}
|
|
|
ade197 |
# Run the tests for python2
|
|
|
ade197 |
export LD_LIBRARY_PATH=$PWD/.libs
|
|
|
ade197 |
export PYTHONPATH=$PWD/python/subunit:$PWD/python/subunit/tests
|
|
|
ade197 |
make check
|
|
|
ade197 |
# Make sure subunit.iso8601 is importable from buildroot
|
|
|
ade197 |
PYTHONPATH=%{buildroot}%{python2_sitelib} %{__python2} -c "import subunit.iso8601"
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python3} && 0%{?!disable_tests}
|
|
|
ade197 |
# Run the tests for python3
|
|
|
ade197 |
pushd python3
|
|
|
ade197 |
export LD_LIBRARY_PATH=$PWD/.libs
|
|
|
ade197 |
export PYTHON=%{python3}
|
|
|
ade197 |
make check
|
|
|
ade197 |
# Make sure subunit.iso8601 is importable from buildroot
|
|
|
ade197 |
PYTHONPATH=%{buildroot}%{python3_sitelib} %{python3} -c "import subunit.iso8601"
|
|
|
ade197 |
popd
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%ldconfig_scriptlets
|
|
|
ade197 |
%ldconfig_scriptlets cppunit
|
|
|
ade197 |
|
|
|
ade197 |
%files
|
|
|
ade197 |
%doc NEWS README.rst
|
|
|
ade197 |
%license Apache-2.0 BSD COPYING
|
|
|
ade197 |
%{_libdir}/lib%{name}.so.*
|
|
|
ade197 |
|
|
|
ade197 |
%files devel
|
|
|
ade197 |
%doc c/README
|
|
|
ade197 |
%dir %{_includedir}/%{name}/
|
|
|
ade197 |
%{_includedir}/%{name}/child.h
|
|
|
ade197 |
%{_libdir}/lib%{name}.so
|
|
|
ade197 |
%{_libdir}/pkgconfig/lib%{name}.pc
|
|
|
ade197 |
|
|
|
ade197 |
%files cppunit
|
|
|
ade197 |
%{_libdir}/libcppunit_%{name}.so.*
|
|
|
ade197 |
|
|
|
ade197 |
%files cppunit-devel
|
|
|
ade197 |
%doc c++/README
|
|
|
ade197 |
%{_includedir}/%{name}/SubunitTestProgressListener.h
|
|
|
ade197 |
%{_libdir}/libcppunit_%{name}.so
|
|
|
ade197 |
%{_libdir}/pkgconfig/libcppunit_%{name}.pc
|
|
|
ade197 |
|
|
|
ade197 |
%files perl
|
|
|
ade197 |
%license Apache-2.0 BSD COPYING
|
|
|
ade197 |
%{_bindir}/%{name}-diff
|
|
|
ade197 |
%{perl_vendorlib}/*
|
|
|
ade197 |
|
|
|
ade197 |
%files shell
|
|
|
ade197 |
%doc shell/README
|
|
|
ade197 |
%license Apache-2.0 BSD COPYING
|
|
|
ade197 |
%config(noreplace) %{_sysconfdir}/profile.d/%{name}.sh
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python2}
|
|
|
ade197 |
%files -n python2-%{name}
|
|
|
ade197 |
%license Apache-2.0 BSD COPYING
|
|
|
ade197 |
%{python2_sitelib}/%{name}/
|
|
|
ade197 |
%{python2_sitelib}/python_%{name}-%{version}-*.egg-info
|
|
|
ade197 |
%exclude %{python2_sitelib}/%{name}/tests/
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%if %{with python3}
|
|
|
ade197 |
%files -n python3-%{name}
|
|
|
ade197 |
%license Apache-2.0 BSD COPYING
|
|
|
ade197 |
%{python3_sitelib}/%{name}/
|
|
|
ade197 |
%{python3_sitelib}/python_%{name}-%{version}-*.egg-info
|
|
|
ade197 |
%exclude %{python3_sitelib}/%{name}/tests/
|
|
|
ade197 |
|
|
|
ade197 |
%files -n python3-%{name}-test
|
|
|
ade197 |
%{python3_sitelib}/%{name}/tests/
|
|
|
ade197 |
%endif
|
|
|
ade197 |
|
|
|
ade197 |
%files static
|
|
|
ade197 |
%{_libdir}/*.a
|
|
|
ade197 |
|
|
|
ade197 |
%files filters
|
|
|
ade197 |
%{_bindir}/*
|
|
|
ade197 |
%exclude %{_bindir}/%{name}-diff
|
|
|
ade197 |
|
|
|
ade197 |
%changelog
|
|
|
ade197 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-6
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-5
|
|
|
ade197 |
- Second attempt - Rebuilt for
|
|
|
ade197 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.4.0-3
|
|
|
ade197 |
- Perl 5.32 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.4.0-2
|
|
|
ade197 |
- Rebuilt for Python 3.9
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Mar 18 2020 Jerry James <loganjerry@gmail.com> - 1.4.0-1
|
|
|
ade197 |
- Version 1.4.0
|
|
|
ade197 |
- Drop all patches; all have been upstreamed
|
|
|
ade197 |
- Verify the source tarball
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Mar 11 2020 Jerry James <loganjerry@gmail.com> - 1.3.0-19
|
|
|
ade197 |
- Drop the -decode-binary-to-unicode patch; it doesn't work with the bundled
|
|
|
ade197 |
version of iso8601.
|
|
|
ade197 |
- Add 0003 and 0004 patches to fix bugs reported to upstream.
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Mar 10 2020 Jerry James <loganjerry@gmail.com> - 1.3.0-18
|
|
|
ade197 |
- The python iso8601 module in Fedora has diverged too much from the bundled
|
|
|
ade197 |
version. Allow this package to bundle it (bz 1811697).
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-17
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Dec 25 2019 David Tardon <dtardon@redhat.com> - 1.3.0-16
|
|
|
ade197 |
- rebuild for cppunit 1.15.1
|
|
|
ade197 |
|
|
|
ade197 |
* Sat Dec 21 2019 David Tardon <dtardon@redhat.com> - 1.3.0-15
|
|
|
ade197 |
- rebuild for cppunit 1.15.0
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Oct 16 2019 Jerry James <loganjerry@gmail.com> - 1.3.0-14
|
|
|
ade197 |
- Fix symlinks for python 3.8
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Sep 20 2019 Jerry James <loganjerry@gmail.com> - 1.3.0-13
|
|
|
ade197 |
- Drop python2 support in Fedora 32+ and EPEL 9+ (bz 1753957)
|
|
|
ade197 |
|
|
|
ade197 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-12
|
|
|
ade197 |
- Rebuilt for Python 3.8
|
|
|
ade197 |
|
|
|
ade197 |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-11
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.3.0-10
|
|
|
ade197 |
- Perl 5.30 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Thu Mar 28 2019 Jerry James <loganjerry@gmail.com> - 1.3.0-9
|
|
|
ade197 |
- Do not ship the python 2 tests for F30+
|
|
|
ade197 |
- Run tests on aarch64 again
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Mar 20 2019 Andreas Schneider <asn@redhat.com> - 1.3.0-8
|
|
|
ade197 |
- Ship the python tests, needed by Samba
|
|
|
ade197 |
|
|
|
ade197 |
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-7
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Jan 9 2019 Haïkel Guémar <hguemar@fedoraproject.org> - 1.3.0-6
|
|
|
ade197 |
- Ensure patches get applied
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Jan 2 2019 Haïkel Guémar <hguemar@fedoraproject.org> - 1.3.0-5
|
|
|
ade197 |
- Fix python3 compatibility
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Nov 30 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 1.3.0-4
|
|
|
ade197 |
- Migrate GUI filters to Gtk3/GObject introspection
|
|
|
ade197 |
- Migrate filters to python3
|
|
|
ade197 |
|
|
|
ade197 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Jul 3 2018 Jerry James <loganjerry@gmail.com> - 1.3.0-2
|
|
|
ade197 |
- One more perl 5.28 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Jul 3 2018 Jerry James <loganjerry@gmail.com> - 1.3.0-1
|
|
|
ade197 |
- New upstream release
|
|
|
ade197 |
- Add -static subpackage (bz 1575054)
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Jul 03 2018 Petr Pisar <ppisar@redhat.com> - 1.2.0-21
|
|
|
ade197 |
- Perl 5.28 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.0-20
|
|
|
ade197 |
- Perl 5.28 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-19
|
|
|
ade197 |
- Rebuilt for Python 3.7
|
|
|
ade197 |
|
|
|
ade197 |
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.0-18
|
|
|
ade197 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
ade197 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-17
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-16
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-15
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Mon Jun 26 2017 Jerry James <loganjerry@gmail.com> - 1.2.0-14
|
|
|
ade197 |
- Rebuild to fix broken perl dependencies
|
|
|
ade197 |
|
|
|
ade197 |
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.0-13
|
|
|
ade197 |
- Perl 5.26 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Fri May 5 2017 Jerry James <loganjerry@gmail.com> - 1.2.0-12
|
|
|
ade197 |
- Rebuild for cppunit 1.14.0
|
|
|
ade197 |
|
|
|
ade197 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-11
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Sun Jan 29 2017 Jerry James <loganjerry@gmail.com> - 1.2.0-10
|
|
|
ade197 |
- Add Requires on python-junitxml to -filter subpackage (bz 1417291)
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Dec 20 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-9
|
|
|
ade197 |
- Rebuild for Python 3.6
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-8
|
|
|
ade197 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Jun 3 2016 Jerry James <loganjerry@gmail.com> - 1.2.0-7
|
|
|
ade197 |
- Fix -python3 dependency on /usr/bin/python (bz 1342508)
|
|
|
ade197 |
- Comply with latest python packaging guidelines
|
|
|
ade197 |
- Drop workaround for bz 1251568, now fixed
|
|
|
ade197 |
|
|
|
ade197 |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.2.0-6
|
|
|
ade197 |
- Perl 5.24 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Mon Apr 18 2016 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.2.0-5
|
|
|
ade197 |
- Added missing check for %%with_py3 to make it buildable under RHEL/CentOS
|
|
|
ade197 |
|
|
|
ade197 |
* Sun Feb 14 2016 David Tardon <dtardon@redhat.com> - 1.2.0-4
|
|
|
ade197 |
- rebuild for cppunit 1.13.2
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-3
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Oct 23 2015 Jerry James <loganjerry@gmail.com> - 1.2.0-1
|
|
|
ade197 |
- New upstream release
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Sep 2 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 1.1.0-5
|
|
|
ade197 |
- Backport upstream patches (RHBZ#1259286)
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Aug 7 2015 Jerry James <loganjerry@gmail.com> - 1.1.0-4
|
|
|
ade197 |
- Fix FTBFS due to older python-testtools (bz 1249714)
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Jul 14 2015 Slavek Kabrda <bkabrda@redhat.com> - 1.1.0-3
|
|
|
ade197 |
- Symlink iso8601 file into subunit Python dirs to preserve compatibility while unbundling
|
|
|
ade197 |
Resolves: rhbz#1233581
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Jun 12 2015 Jerry James <loganjerry@gmail.com> - 1.1.0-1
|
|
|
ade197 |
- New upstream release
|
|
|
ade197 |
- Enable python3 tests
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.0.0-3
|
|
|
ade197 |
- Perl 5.22 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.0.0-2
|
|
|
ade197 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
ade197 |
|
|
|
ade197 |
* Tue Dec 9 2014 Jerry James <loganjerry@gmail.com> - 1.0.0-1
|
|
|
ade197 |
- New upstream release (bz 1171483 and 1172204)
|
|
|
ade197 |
- Add python3 subpackage (bz 1172195)
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Nov 19 2014 Pádraig Brady <pbrady@redhat.com> - 0.0.21-2
|
|
|
ade197 |
- Make python-subunit egginfo available for pip etc.
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Sep 19 2014 Jerry James <loganjerry@gmail.com> - 0.0.21-1
|
|
|
ade197 |
- New upstream release
|
|
|
ade197 |
- Fix license handling
|
|
|
ade197 |
|
|
|
ade197 |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.0.18-5
|
|
|
ade197 |
- Perl 5.20 rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-4
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.18-3
|
|
|
ade197 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
ade197 |
|
|
|
ade197 |
* Thu Apr 24 2014 Jerry James <loganjerry@gmail.com> - 0.0.18-2
|
|
|
ade197 |
- Add license text to all independent packages
|
|
|
ade197 |
- Add perl module Requires to the -perl subpackage
|
|
|
ade197 |
- Fix timestamps after install
|
|
|
ade197 |
|
|
|
ade197 |
* Fri Feb 14 2014 Jerry James <loganjerry@gmail.com> - 0.0.18-1
|
|
|
ade197 |
- Initial RPM
|