]> git.pld-linux.org Git - packages/OpenNI2.git/commitdiff
- updated Source URL, rpm version for noarch subpackage master
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Mar 2024 16:29:47 +0000 (17:29 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Mar 2024 16:29:47 +0000 (17:29 +0100)
OpenNI2.spec

index 74b9b1210ed35da4adc1b6ab54803c5061942dc4..8c46e269cd780d0a19e36c48ae6a4c24535bf6dc 100644 (file)
@@ -18,7 +18,8 @@ Version:      2.2.0.33
 Release:       0.%{subver}.%{rel}
 License:       Apache v2.0
 Group:         Libraries
-Source0:       https://github.com/occipital/OpenNI2/archive/2.2-%{subver}/%{name}-%{version}.tar.gz
+#Source0Download: https://github.com/structureio/OpenNI2/tags
+Source0:       https://github.com/structureio/OpenNI2/archive/2.2-%{subver}/%{name}-%{version}.tar.gz
 # Source0-md5: 3f2cd6a64776821fb2837c442539f65b
 Patch0:                %{name}-system-libs.patch
 Patch1:                %{name}-nosse.patch
@@ -39,11 +40,12 @@ BuildRequires:      libjpeg-devel
 BuildRequires: libstdc++-devel >= 6:4.0
 BuildRequires: libusb-devel >= 1.0.8
 BuildRequires: python >= 1:2.6
+BuildRequires: rpm-build >= 4.6
 BuildRequires: rpmbuild(macros) >= 1.566
 BuildRequires: sed >= 4.0
 BuildRequires: udev-devel
 # NOTE: other platforms need adding a dozen of defines in Include/Linux-*/*.h
-ExclusiveArch: %{ix86} %{x8664} x32 arm
+ExclusiveArch: %{ix86} %{x8664} x32 %{arm}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %ifarch %{ix86}
@@ -52,7 +54,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %ifarch %{x8664} x32
 %define                openni_platform x64
 %endif
-%ifarch arm
+%ifarch %{arm}
 %define                openni_platform Arm
 %endif
 
@@ -171,7 +173,7 @@ cp -pr Include/Driver $RPM_BUILD_ROOT%{_includedir}/openni2
 %ifarch %{ix86} %{x8664} x32
 cp -pr Include/Linux-x86 $RPM_BUILD_ROOT%{_includedir}/openni2
 %endif
-%ifarch arm
+%ifarch %{arm}
 cp -pr Include/Linux-Arm $RPM_BUILD_ROOT%{_includedir}/openni2
 %endif
 
This page took 0.094345 seconds and 4 git commands to generate.