tdawson / centos / centpkg

Forked from centos/centpkg 3 years ago
Clone
622a50
Name:           centpkg
James Antill 8f33dd
Version:        %{!?devrel:0.4.6}%{?devrel:0.4.7}
James Antill 8f33dd
Release:        %{?devrel:0.%{devrel}%{?devsnap:.%{devsnap}}.}1%{?dist}
622a50
Summary:        CentOS utility for working with dist-git
622a50
License:        GPLv2+
c7c04a
URL:            https://git.centos.org/centos/centpkg
c7c04a
Source0:        https://git.centos.org/centos/centpkg/archive/%{version}/centpkg-%{version}.tar.gz
7e0e80
BuildArch:      noarch
Brian Stinson 10bb17
7e0e80
BuildRequires:  python3-devel
James Antill cf286c
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
James Antill cf286c
BuildRequires:  python-setuptools
James Antill cf286c
%else
7e0e80
BuildRequires:  %{py3_dist setuptools}
James Antill cf286c
%endif
Brian Stinson 10bb17
Brian Stinson 10bb17
%description
James Antill c32569
Provides the centpkg command for working with dist-git
Brian Stinson 10bb17
Brian Stinson 10bb17
a79c47
%package sig
a79c47
Summary:        CentOS SIG utility for working with dist-git
a79c47
Requires:       %{name} = %{version}-%{release}
Brian Stinson 10bb17
Brian Stinson 10bb17
a79c47
%description sig
a79c47
Provides the centpkg-sig command for working with dist-git.
Brian Stinson 10bb17
Brian Stinson 10bb17
%prep
c7c04a
%autosetup
Brian Stinson 10bb17
Brian Stinson 10bb17
Brian Stinson 10bb17
%build
7e0e80
%py3_build
Brian Stinson 10bb17
Brian Stinson 10bb17
Brian Stinson 10bb17
%install
7e0e80
%py3_install
Brian Stinson 10bb17
Brian Stinson 10bb17
Brian Stinson 10bb17
%files
599d78
%license COPYING
599d78
%doc README.md
30b0f4
%config(noreplace) %{_sysconfdir}/rpkg/centpkg.conf
Brian Stinson 10bb17
%{_bindir}/%{name}
James Antill 8f33dd
%{python3_sitelib}/%{name}*
Brian Stinson 10bb17
Brian Stinson 10bb17
a79c47
%files sig
a79c47
%{_bindir}/%{name}-sig
a79c47
%config(noreplace) %{_sysconfdir}/rpkg/centpkg-sig.conf
Brian Stinson 10bb17
Brian Stinson 10bb17
Brian Stinson 10bb17
%changelog
Michal Konečný 0d832c
* Thu Feb 25 2021 mkonecny@redhat.com 0.5.0-1
Michal Konečný 0d832c
- Add centpkg-sig command
Michal Konečný 0d832c
894f00
* Mon Nov 28 2016 brian@bstinson.com 0.4.6-1
894f00
- Tracking updates to rpkg (thanks pavlix)
894f00
- Fix the URL building code in the sources method
894f00
Brian Stinson 38f04b
* Sat Jan 31 2015 Brian Stinson bstinson@ksu.edu - 0.4.4-1
Brian Stinson 38f04b
- New version correcting the anonymous pull URLs
Brian Stinson 38f04b
Brian Stinson 3382ae
* Sun Dec 14 2014 Brian Stinson bstinson@ksu.edu - 0.4.3-1
Brian Stinson 3382ae
- Use the authenticated git url for centpkg pulls
Brian Stinson 3382ae
Brian Stinson d3f316
* Sun Dec 14 2014 Brian Stinson bstinson@ksu.edu - 0.4.2-1
Brian Stinson d3f316
- Fix the koji config path in centpkg.conf
Brian Stinson d3f316
Brian Stinson 02cccf
* Sun Dec 14 2014 Brian Stinson bstinson@ksu.edu - 0.4.1-1
Brian Stinson 02cccf
- Fix a disttag regression and add a "patch" version number
Brian Stinson 02cccf
Brian Stinson f2820f
* Sat Nov 23 2014 Brian Stinson bstinson@ksu.edu - 0.2-1
Brian Stinson f2820f
- The srpm workflow to the CBS works now
Brian Stinson f2820f
Brian Stinson 10bb17
* Sat Jul 05 2014 Brian Stinson bstinson@ksu.edu - 0.1-2
Brian Stinson 10bb17
- Update readme and add exception checking when running toplevel commands
Brian Stinson 10bb17
Brian Stinson 10bb17
* Sat Jul 05 2014 Brian Stinson bstinson@ksu.edu - 0.1-1
622a50
- Local builds and mockbuilds work