From 0598dc1ddf6c2336076ced443112dc64a80c92b7 Mon Sep 17 00:00:00 2001 From: huangtianhua Date: Wed, 28 Jul 2021 08:51:27 +0000 Subject: [PATCH] Init python-infi-dtypes-iqn package The package ppython-infi-dtypes-iqn is required by OpenStack-W, init it. --- infi.dtypes.iqn-0.4.0.tar.gz | Bin 0 -> 1696 bytes python-infi-dtypes-iqn.spec | 75 +++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 infi.dtypes.iqn-0.4.0.tar.gz create mode 100644 python-infi-dtypes-iqn.spec diff --git a/infi.dtypes.iqn-0.4.0.tar.gz b/infi.dtypes.iqn-0.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..058f672979ddd0593e0298e65a536dcab81e8838 GIT binary patch literal 1696 zcmV;R24DFfiwFo)09{!E|72-%bT4UcW@#>Dba`-Pb1rFdZY?k_G%heMbYXG;?OWY% z+cpr-v;GQBdx!R#{7#6jwZBX~ctQL3UE5Xme_{LQ zsRu7%|3TkT_J1Yzhtz`|+uyOewxjI-dhG9cG@`=u%w+yZ`}e!uP4;(P+b->I4S>&a zdJfG0ma_jhCqKlTqvPlXhcr0;!mxDg*t9l6goYF+>67_$nl$ zgvA1sCP4@LKH*%eD9=d33gs(mGa^zJRdlL~OfjEs6p@*&rJPX}BwxyIip7+$iZrw` zibb`h8Ar9LOJ+%e&Fcx0G8yQ;in+3SYK-L8Cy79Z*@MQ>5UuI5D;DFRle4Z=Q#ADm zL*H-iGBg_H3KgGQ8YUteJFBQlc38$y)?}=!By+)Wn8qpZB$$zimu@Xl)$HI0gK7<$ za*Hqc#*~Bs2Xid@#NBvs4~{nTaqg$C!L}quT-$X6JXKgu`gFKPNRv3 zQ!$Mh6?5PRjm^(7t*Lq8R2vJ;sA%y6h`{W(|DaZsW}Og`DR?K^B|}}LsqcM*MUA;$ zRA%1|^57JCA5>hySR-C^&z)LijNs-{aE7mmN4d{w=7O!|Yav}5N{V7KWGorA%D}Pg z-xaClxKowgQ}iv@e>a427{(v91iWYcXIZe=tFQlD2eQ@rZwFMdER2wPW`13PN#Vc5 z|I_w<55oVzYT(}{NK1GFT?-h8Yl8z%r6eusp%AUGTDZ z&r{Rw{{a6_2mYh+Z*^7tN8w-5OX9zhYLdyM18MQWqw&98{NJ%H75{&Y_CI^~Yv=g% z=>4;f|NTL~VSg7KK#l*qpx=qW0T#IPG2aFbk!{+VjIIn(!wa;MC36z(Je|!jn-9@j zkk0~U$+WRnpbw2XCk@jt;l;%Hjd zitK*wNN+g0-Y%|{`eo3ak1i?~ef0;O3zWq?P{cL6+l%zJ7wMNGmy4HRc{DQ8n@2V! zdzhc5jP$efqcSnSXADy1xlAL=%g$#;`kM2Zk~3w%u+4E$DOnhORB@E{8lxXteak6C z7Ct+wd2ox|`e7Q7(S3nq49QPyhg!<#YQ0 literal 0 HcmV?d00001 diff --git a/python-infi-dtypes-iqn.spec b/python-infi-dtypes-iqn.spec new file mode 100644 index 0000000..6d98978 --- /dev/null +++ b/python-infi-dtypes-iqn.spec @@ -0,0 +1,75 @@ +%global _empty_manifest_terminate_build 0 +Name: python-infi-dtypes-iqn +Version: 0.4.0 +Release: 1 +Summary: Datatype for IQN +License: PSF +URL: https://github.com/infinidat/infi.dtypes.iqn +Source0: https://files.pythonhosted.org/packages/2e/0d/e05be651c207a35013f88be3f8938693d1beee3e1fad8f21a42b948d5d9c/infi.dtypes.iqn-0.4.0.tar.gz +BuildArch: noarch +%description +IQN datatype in Python Datatype for iSCSI IQN in Python. + +%package -n python3-infi-dtypes-iqn +Summary: Datatype for IQN +Provides: python-infi-dtypes-iqn +# Base build requires +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pbr +BuildRequires: python3-pip +BuildRequires: python3-wheel +%description -n python3-infi-dtypes-iqn +IQN datatype in Python Datatype for iSCSI IQN in Python. + +%package help +Summary: Datatype for IQN +Provides: python3-infi-dtypes-iqn-doc +%description help +IQN datatype in Python Datatype for iSCSI IQN in Python. + +%prep +%autosetup -n infi.dtypes.iqn-0.4.0 -S git + +%build +%py3_build + +%install +%py3_install + +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-infi-dtypes-iqn -f filelist.lst + +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed Jul 28 2021 OpenStack_SIG - 0.4.0-1 +- Package Spec generate