bab9bb6b69
Create new directories: ceph config config-files filesystem kernel kernel/kernel-modules ldap logging strorage-drivers tools utilities virt Retire directories: connectivity core devtools support extended Delete two packages: tgt irqbalance Relocated packages: base/ dhcp initscripts libevent lighttpd linuxptp memcached net-snmp novnc ntp openssh pam procps sanlock shadow sudo systemd util-linux vim watchdog ceph/ python-cephclient config/ facter puppet-4.8.2 puppet-modules filesystem/ e2fsprogs nfs-utils nfscheck kernel/ kernel-std kernel-rt kernel/kernel-modules/ mlnx-ofa_kernel ldap/ nss-pam-ldapd openldap logging/ syslog-ng logrotate networking/ lldpd iproute mellanox python-ryu mlx4-config python/ python-2.7.5 python-django python-gunicorn python-setuptools python-smartpm python-voluptuous security/ shim-signed shim-unsigned tboot strorage-drivers/ python-3parclient python-lefthandclient virt/ cloud-init libvirt libvirt-python qemu tools/ storage-topology vm-topology utilities/ tis-extensions namespace-utils nova-utils update-motd Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
83 lines
2.2 KiB
RPMSpec
83 lines
2.2 KiB
RPMSpec
Summary: The Smart Package Manager
|
|
Name: python-smartpm
|
|
Version: 1.4.1
|
|
Release: 0%{?_tis_dist}.%{tis_patch_ver}
|
|
License: GPLv2
|
|
Group: devel/python
|
|
Packager: Wind River <info@windriver.com>
|
|
URL: http://labix.org/smart/
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
#OVP Patches
|
|
#Patch00: smartpm-rpm5-nodig.patch
|
|
Patch01: smart-rpm-root.patch
|
|
Patch02: smart-recommends.patch
|
|
Patch03: smart-rpm-extra-macros.patch
|
|
Patch04: smart-dflags.patch
|
|
Patch05: smart-rpm-md-parse.patch
|
|
Patch06: smart-tmpdir.patch
|
|
Patch07: smart-metadata-match.patch
|
|
Patch08: smart-improve-error-reporting.patch
|
|
Patch09: smart-multilib-fixes.patch
|
|
Patch10: smart-yaml-error.patch
|
|
Patch11: smart-channelsdir.patch
|
|
Patch12: smart-conflict-provider.patch
|
|
Patch13: smart-flag-ignore-recommends.patch
|
|
Patch14: smart-flag-exclude-packages.patch
|
|
Patch15: smart-config-ignore-all-recommends.patch
|
|
Patch16: smart-attempt.patch
|
|
Patch17: smart-filename-NAME_MAX.patch
|
|
Patch18: smart-add-for-rpm-ignoresize-check.patch
|
|
Patch19: smart-set-noprogress-for-pycurl.patch
|
|
|
|
#WRS Patches
|
|
Patch20: commit_transaction_error_handling.patch
|
|
Patch21: smart-support-rpm4.patch
|
|
|
|
BuildArch: x86_64
|
|
|
|
BuildRequires: python
|
|
BuildRequires: python-devel
|
|
BuildRequires: gettext
|
|
BuildRequires: rpm
|
|
|
|
Requires: python
|
|
Requires: python-devel
|
|
# Note: centos has RPM 4.11.3 WR was using 5.4.9
|
|
Requires: rpm
|
|
Requires: rpm-python
|
|
|
|
%description
|
|
The Smart Package Manager project has the ambitious objective of creating
|
|
smart and portable algorithms for solving adequately the problem of
|
|
managing software upgrades and installation.
|
|
|
|
%prep
|
|
%autosetup -p 1 -n smart-%{version}
|
|
|
|
# Remove bundled egg-info
|
|
rm -rf %{name}.egg-info
|
|
|
|
%build
|
|
%{__python2} setup.py build
|
|
|
|
%install
|
|
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
|
|
# WRS Note:
|
|
# python2_sitelib is not correct for this package.
|
|
# This SPEC looks under /usr/lib but needs to look under /usr/lib64
|
|
# The files section is hardcoded to handle this
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_bindir}/smart
|
|
#%{python2_sitelib}/smart
|
|
/usr/lib64/python2.7/site-packages/smart
|
|
#%{python2_sitelib}/*.egg-info
|
|
/usr/lib64/python2.7/site-packages/*.egg-info
|
|
/usr/share/locale
|
|
/usr/share/man
|
|
|