Blame SPECS/python-rpmfluff.spec

e20ac6
%global modname rpmfluff
e20ac6
e20ac6
Name:          python-%{modname}
e20ac6
Version:       0.5.7.1
e20ac6
Release:       2%{?dist}
e20ac6
Summary:       Lightweight way of building RPMs, and sabotaging them
e20ac6
e20ac6
License:       GPLv2+
e20ac6
URL:           https://pagure.io/rpmfluff
e20ac6
Source0:       https://pagure.io/releases/%{modname}/%{modname}-%{version}.tar.xz
e20ac6
e20ac6
BuildArch:     noarch
e20ac6
e20ac6
%global _description \
e20ac6
rpmfluff provides a python library for building RPM packages, and\
e20ac6
sabotaging them so they are broken in controlled ways.\
e20ac6
\
e20ac6
It is intended for use when validating package analysis tools such as RPM lint.\
e20ac6
It can also be used to construct test cases for package management software\
e20ac6
such as rpm and yum.
e20ac6
e20ac6
%description %{_description}
e20ac6
e20ac6
%package -n python3-%{modname}
e20ac6
Summary:        %{summary}
e20ac6
%{?python_provide:%python_provide python3-%{modname}}
e20ac6
BuildRequires:  gcc
e20ac6
BuildRequires:  python3-devel
e20ac6
BuildRequires:  python3-rpm
e20ac6
Requires:       rpm-build
e20ac6
Requires:       createrepo_c
e20ac6
e20ac6
%description -n python3-%{modname} %{_description}
e20ac6
e20ac6
Python 3 version.
e20ac6
e20ac6
%prep
e20ac6
%autosetup -n %{modname}-%{version}
e20ac6
e20ac6
%build
e20ac6
%py3_build
e20ac6
e20ac6
%install
e20ac6
%py3_install
e20ac6
e20ac6
%check
e20ac6
python3 %{modname}.py
e20ac6
e20ac6
%files -n python3-%{modname}
e20ac6
%license LICENSE
e20ac6
%doc README.md
e20ac6
%{python3_sitelib}/%{modname}.py
e20ac6
%{python3_sitelib}/__pycache__/%{modname}.*
e20ac6
%{python3_sitelib}/%{modname}-*.egg-info
e20ac6
e20ac6
%changelog
e20ac6
* Wed Jun 12 2019 Brian C. Lane <bcl@redhat.com> - 0.5.7.1-2
e20ac6
- Initial build with gating tests enabled
e20ac6
  Related: rhbz#1715540
e20ac6
e20ac6
* Sat May 11 2019 Jan Hutar <jhutar@redhat.com> - 0.5.7.1-1
e20ac6
- Fixed tests to run in F31 with rpm-4.14.2.1-7.fc31
e20ac6
e20ac6
* Fri May 10 2019 Jan Hutar <jhutar@redhat.com> - 0.5.7-1
e20ac6
- Remove python 2 subpackage
e20ac6
- ksrot: RPM now returns all string data as surrogate-escaped utf-8 strings
e20ac6
- bcl: Tests fixes
e20ac6
- bcl: pylint warnings
e20ac6
- Better version of the check as advised by pmatilai
e20ac6
e20ac6
* Thu Jan 31 2019 Jan Hutar <jhutar@redhat.com> - 0.5.6-1
e20ac6
- dshea: Add a add_manpage function
e20ac6
- dshea: Sanitize the base directory name
e20ac6
- dshea: Support subpackage scriptlets
e20ac6
- dshea: Allow file directives to be added to symlinks
e20ac6
- dshea: Use valid images for the test PNG and GIF data
e20ac6
e20ac6
* Fri Jan 04 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.5-2
e20ac6
- Subpackage python2-rpmfluff has been removed
e20ac6
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
e20ac6
e20ac6
* Sun Jul 22 2018 Jan Hutar <jhutar@redhat.com> - 0.5.5-1
e20ac6
- Fixing tests to be able to build in Fedora 29
e20ac6
e20ac6
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-4
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e20ac6
e20ac6
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.4-3
e20ac6
- Rebuilt for Python 3.7
e20ac6
e20ac6
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.5.4-2
e20ac6
- Update Python 2 dependency declarations to new packaging standards
e20ac6
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e20ac6
e20ac6
* Tue Feb 13 2018 Jan Hutar <jhutar@redhat.com> - 0.5.4-1
e20ac6
- Fixes RHBZ#1544361
e20ac6
e20ac6
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-3
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e20ac6
e20ac6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.3-2
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e20ac6
e20ac6
* Wed Jun 28 2017 Jan Hutar <jhutar@redhat.com> - 0.5.3-1
e20ac6
- Support mixing noarch and archful packages in a yum repo build by Dan Callaghan <dcallagh@redhat.com>
e20ac6
e20ac6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e20ac6
e20ac6
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.2-2
e20ac6
- Rebuild for Python 3.6
e20ac6
e20ac6
* Thu Sep 29 2016 Jan Hutar <jhutar@redhat.com> - 0.5.2-1
e20ac6
- Lots of fixes by Dan Callaghan <dcallagh@redhat.com>
e20ac6
e20ac6
* Fri Jul 22 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.5.1-1
e20ac6
- Fix Requires for createrepo_c in py3 subpkg
e20ac6
- Fix crash on python2 due to non-existing shutil.which()
e20ac6
e20ac6
* Fri Jul 22 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.5-1
e20ac6
- Make package following guidelines
e20ac6
- Replace usage of obsolete createrepo_c with createrepo
e20ac6
e20ac6
* Thu Aug 20 2015 Jan Hutar <jhutar@redhat.com> - 0.4.2-1
e20ac6
- John Dulaney implemented weak dependencies
e20ac6
e20ac6
* Thu Jul 09 2015 Jan Hutar <jhutar@redhat.com> - 0.4-1
e20ac6
- David Shea did a lots of work to support Python 3
e20ac6
- RHEL5 (i.e. Python 2.4) support dropped
e20ac6
e20ac6
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-14
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e20ac6
e20ac6
* Mon Jun 30 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 0.3-13
e20ac6
- Replace pyhton-setuptools-devel BR with python-setuptools
e20ac6
e20ac6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-12
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e20ac6
e20ac6
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-11
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e20ac6
e20ac6
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-10
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e20ac6
e20ac6
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-9
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e20ac6
e20ac6
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-8
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e20ac6
e20ac6
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3-7
e20ac6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e20ac6
e20ac6
* Fri Jul 30 2010 David Malcolm <dmalcolm@redhat.com> - 0.3-6
e20ac6
- rebuild for python 2.7
e20ac6
e20ac6
* Fri Feb 12 2010 Jan Hutar <jhutar@redhat.com> - 0.3-5
e20ac6
- Now version is in the separate file
e20ac6
e20ac6
* Tue Jan 26 2010 Jan Hutar <jhutar@redhat.com> - 0.3-4
e20ac6
- Fix for deprecated popen2 module
e20ac6
e20ac6
* Thu Jan 7 2010 Jan Hutar <jhutar@redhat.com> - 0.3-3
e20ac6
- Moved to use EGGs for distribution
e20ac6
e20ac6
* Mon Dec 21 2009 Jan Hutar <jhutar@redhat.com> - 0.3-2
e20ac6
- Added separate LICENSE file
e20ac6
e20ac6
* Fri Dec 18 2009 Jan Hutar <jhutar@redhat.com> - 0.3-1
e20ac6
- New version, first attempt to get to Fedora
e20ac6
e20ac6
* Tue Jul 08 2008 Jan Hutar <jhutar@redhat.com> - 0.1-1
e20ac6
- Initial version
e20ac6
- spec-file based on python-html2text.spec