mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-23 16:22:55 +00:00
Merge remote-tracking branch 'carl/specfile' into builds
* carl/specfile: (8 commits) Add centpkg-sig subpackage ...
This commit is contained in:
commit
c3256936e4
2 changed files with 38 additions and 43 deletions
63
centpkg.spec
63
centpkg.spec
|
@ -1,56 +1,52 @@
|
||||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
|
||||||
|
|
||||||
Name: centpkg
|
Name: centpkg
|
||||||
Version: 0.4.6
|
Version: 0.4.6
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: CentOS utility for working with dist-git
|
Summary: CentOS utility for working with dist-git
|
||||||
|
|
||||||
Group: Applications/System
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: https://git.centos.org/summary/centpkg.git
|
URL: https://git.centos.org/centos/centpkg
|
||||||
Source0: centpkg-%{version}.tar.gz
|
Source0: https://git.centos.org/centos/centpkg/archive/%{version}/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
|
BuildArch: noarch
|
||||||
|
|
||||||
# CentOS Distributed build-requires
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python-devel, python-setuptools
|
BuildRequires: %{py3_dist setuptools}
|
||||||
|
|
||||||
# EPEL Distributed build-requires
|
|
||||||
BuildRequires: pyrpkg
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Provides the centpkg and centpkg-sig commands for working with dist-git
|
Provides the centpkg command for working with dist-git
|
||||||
|
|
||||||
|
|
||||||
|
%package sig
|
||||||
|
Summary: CentOS SIG utility for working with dist-git
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
|
%description sig
|
||||||
|
Provides the centpkg-sig command for working with dist-git.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c
|
%autosetup
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
%py3_build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
%py3_install
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc README.md COPYING
|
%doc README.md
|
||||||
%config %{_sysconfdir}/rpkg/centpkg.conf
|
%config(noreplace) %{_sysconfdir}/rpkg/centpkg.conf
|
||||||
%config %{_sysconfdir}/rpkg/centpkg-sig.conf
|
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{python_sitelib}/*
|
%{python3_sitelib}/%{name}
|
||||||
|
%{python3_sitelib}/%{name}-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
|
|
||||||
|
%files sig
|
||||||
|
%{_bindir}/%{name}-sig
|
||||||
|
%config(noreplace) %{_sysconfdir}/rpkg/centpkg-sig.conf
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -81,6 +77,3 @@ rm -rf %{buildroot}
|
||||||
|
|
||||||
* Sat Jul 05 2014 Brian Stinson bstinson@ksu.edu - 0.1-1
|
* Sat Jul 05 2014 Brian Stinson bstinson@ksu.edu - 0.1-1
|
||||||
- Local builds and mockbuilds work
|
- Local builds and mockbuilds work
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
|
pycurl
|
||||||
|
pyOpenSSL
|
||||||
rpkg
|
rpkg
|
||||||
rpm
|
six
|
||||||
|
|
Loading…
Add table
Reference in a new issue