public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-automaton] epel10: Sync w/ RDO Newton
@ 2026-05-31 14:45 Haikel Guemar
0 siblings, 0 replies; only message in thread
From: Haikel Guemar @ 2026-05-31 14:45 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-automaton
Branch : epel10
Commit : d81e912538d264ba6ce3454c1b255e36cdc0eed9
Author : Haikel Guemar <hguemar@fedoraproject.org>
Date : 2016-09-10T17:50:09+02:00
Stats : +51/-84 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-automaton/c/d81e912538d264ba6ce3454c1b255e36cdc0eed9?branch=epel10
Log:
Sync w/ RDO Newton
Change-Id: Iab492b2f1ab3be7aece048edfdb156dc468c615f
---
diff --git a/Changelog.old b/Changelog.old
new file mode 100644
index 0000000..ede68f0
--- /dev/null
+++ b/Changelog.old
@@ -0,0 +1,24 @@
+* Tue Aug 16 2016 jpena <jpena@redhat.com> - 1.4.0-1
+- Updated to upstream release 1.4.0
+- Update source URL
+
+* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
+- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
+
+* Wed Feb 10 2016 jpena <jpena@redhat.com> - 1.2.0-1
+- Updated to upstream release 1.2.0
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Tue Dec 22 2015 jpena <jpena@redhat.com> - 1.1.0-1
+- Updated to upstream release 1.1.0
+
+* Tue Nov 24 2015 jpena <jpena@redhat.com> - 1.0.0-1
+- Updated to upstream release 1.0.0
+
+* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
+
+* Fri Sep 18 2015 jpena <jpena@redhat.com> - 0.7.0-1
+- Initial package.
diff --git a/python-automaton.spec b/python-automaton.spec
index 339df55..b67b543 100644
--- a/python-automaton.spec
+++ b/python-automaton.spec
@@ -1,160 +1,103 @@
+%{!?upstream_version: %global upstream_version %{version}%{?milestone}}
+%global pypi_name automaton
+
%if 0%{?fedora}
%global with_python3 1
%endif
-%global pypi_name automaton
-
Name: python-%{pypi_name}
Version: 1.4.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Friendly state machines for python
License: ASL 2.0
URL: https://wiki.openstack.org/wiki/Oslo#automaton
Source0: https://pypi.io/packages/source/a/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
BuildArch: noarch
-
+
%description
Friendly state machines for python.
%package -n python2-%{pypi_name}
Summary: Friendly state machines for python
%{?python_provide:%python_provide python2-%{pypi_name}}
-
BuildRequires: python2-devel
BuildRequires: python-pbr
BuildRequires: python-sphinx
BuildRequires: python-oslo-sphinx
-BuildRequires: python-setuptools
-
-#Required for tests
-BuildRequires: python-debtcollector
-BuildRequires: python-hacking
-BuildRequires: python-coverage
-BuildRequires: python-subunit
-BuildRequires: python-oslotest
-BuildRequires: python-prettytable
-BuildRequires: python-testrepository
-BuildRequires: python-testscenarios
-BuildRequires: python-testtools
Requires: python-pbr >= 1.6
Requires: python-six >= 1.9.0
-Requires: python-debtcollector >= 0.3.0
+Requires: python-debtcollector >= 1.2.0
Requires: python-prettytable
%description -n python2-%{pypi_name}
Friendly state machines for python.
-%package -n python-%{pypi_name}-doc
-Summary: Friendly state machines for python - documentation
-
-%description -n python-%{pypi_name}-doc
-Friendly state machines for python (documentation)
-
%if 0%{?with_python3}
%package -n python3-%{pypi_name}
Summary: Friendly state machines for python
%{?python_provide:%python_provide python3-%{pypi_name}}
-
BuildRequires: python3-devel
BuildRequires: python3-pbr
BuildRequires: python3-sphinx
BuildRequires: python3-oslo-sphinx
-BuildRequires: python3-setuptools
-
-#Required for tests
-BuildRequires: python3-debtcollector
-BuildRequires: python3-hacking
-BuildRequires: python3-coverage
-BuildRequires: python3-subunit
-BuildRequires: python3-oslotest
-BuildRequires: python3-prettytable
-BuildRequires: python3-testrepository
-BuildRequires: python3-testscenarios
-BuildRequires: python3-testtools
Requires: python3-pbr >= 1.6
Requires: python3-six >= 1.9.0
-Requires: python3-debtcollector >= 0.3.0
+Requires: python3-debtcollector >= 1.2.0
Requires: python3-prettytable
%description -n python3-%{pypi_name}
Friendly state machines for python.
%endif
+%package -n python-%{pypi_name}-doc
+Summary: Friendly state machines for python - documentation
+
+%description -n python-%{pypi_name}-doc
+Friendly state machines for python (documentation)
+
%prep
-%setup -q -n %{pypi_name}-%{version}
+%setup -q -n %{pypi_name}-%{upstream_version}
%build
-%{py_build}
-
%if 0%{?with_python3}
-%{py3_build}
+%py3_build
%endif
-
-%install
-%{py2_install}
+%py2_build
# generate html docs
sphinx-build doc/source html
# remove the sphinx-build leftovers
rm -rf html/.{doctrees,buildinfo}
+%install
%if 0%{?with_python3}
-%{py3_install}
-%endif
-
-
-%check
-%{__python2} setup.py test
-
-%if 0%{?with_python3}
-rm -rf .testrepository
-%{__python3} setup.py test
+%py3_install
%endif
+%py2_install
%files -n python2-%{pypi_name}
-%doc README.rst
+%doc html README.rst
%license LICENSE
%{python2_sitelib}/%{pypi_name}
%{python2_sitelib}/*.egg-info
-%files -n python-%{pypi_name}-doc
-%doc html
-%license LICENSE
-
%if 0%{?with_python3}
%files -n python3-%{pypi_name}
%doc html README.rst
%license LICENSE
%{python3_sitelib}/%{pypi_name}
%{python3_sitelib}/*.egg-info
-
%endif
-%changelog
-* Tue Aug 16 2016 jpena <jpena@redhat.com> - 1.4.0-1
-- Updated to upstream release 1.4.0
-- Update source URL
-
-* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
-- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
-
-* Wed Feb 10 2016 jpena <jpena@redhat.com> - 1.2.0-1
-- Updated to upstream release 1.2.0
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Tue Dec 22 2015 jpena <jpena@redhat.com> - 1.1.0-1
-- Updated to upstream release 1.1.0
-
-* Tue Nov 24 2015 jpena <jpena@redhat.com> - 1.0.0-1
-- Updated to upstream release 1.0.0
+%files -n python-%{pypi_name}-doc
+%doc html
+%license LICENSE
-* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
+%changelog
+* Fri Sep 09 2016 Haikel Guemar <hguemar@fedoraproject.org> 1.4.0-2
+- Add python3 subpackages
+- Sync w/ RDO Newton
-* Fri Sep 18 2015 jpena <jpena@redhat.com> - 0.7.0-1
-- Initial package.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 14:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 14:45 [rpms/python-automaton] epel10: Sync w/ RDO Newton Haikel Guemar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox