centpkg/centpkg.spec

83 lines
2 KiB
RPMSpec
Raw Normal View History

2014-07-06 15:28:09 -05:00
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
Name: centpkg
2016-11-28 16:25:18 -06:00
Version: 0.4.6
2014-11-23 23:03:25 -06:00
Release: 1%{?dist}
2014-07-06 15:28:09 -05:00
Summary: CentOS utility for working with dist-git
Group: Applications/System
License: GPLv2+
URL: https://git.centos.org/summary/centpkg.git
Source0: centpkg-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
# CentOS Distributed Packages
Requires: redhat-rpm-config
Requires: python-pycurl
# EPEL Distributed Packages
Requires: pyrpkg >= 1.17
Requires: koji
BuildArch: noarch
# CentOS Distributed build-requires
BuildRequires: python-devel, python-setuptools
# EPEL Distributed build-requires
BuildRequires: pyrpkg
%description
Provides the centpkg command for working with dist-git
%prep
2018-11-14 22:28:34 -06:00
%setup -q -c
2014-07-06 15:28:09 -05:00
%build
%{__python} setup.py build
%install
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.md COPYING
2014-12-14 20:40:32 +00:00
%config %{_sysconfdir}/rpkg/centpkg.conf
2014-07-06 15:28:09 -05:00
%{_bindir}/%{name}
%{python_sitelib}/*
%changelog
2016-11-28 16:25:18 -06:00
* Mon Nov 28 2016 brian@bstinson.com 0.4.6-1
- Tracking updates to rpkg (thanks pavlix)
- Fix the URL building code in the sources method
* Sat Jan 31 2015 Brian Stinson bstinson@ksu.edu - 0.4.4-1
- New version correcting the anonymous pull URLs
* Sun Dec 14 2014 Brian Stinson bstinson@ksu.edu - 0.4.3-1
- Use the authenticated git url for centpkg pulls
2014-12-14 20:40:32 +00:00
* Sun Dec 14 2014 Brian Stinson bstinson@ksu.edu - 0.4.2-1
- Fix the koji config path in centpkg.conf
2014-12-14 19:10:23 +00:00
* Sun Dec 14 2014 Brian Stinson bstinson@ksu.edu - 0.4.1-1
- Fix a disttag regression and add a "patch" version number
2014-11-23 23:03:25 -06:00
* Sat Nov 23 2014 Brian Stinson bstinson@ksu.edu - 0.2-1
- The srpm workflow to the CBS works now
2014-07-06 15:28:09 -05:00
* Sat Jul 05 2014 Brian Stinson bstinson@ksu.edu - 0.1-2
- Update readme and add exception checking when running toplevel commands
* Sat Jul 05 2014 Brian Stinson bstinson@ksu.edu - 0.1-1
- Local builds and mockbuilds work