Skip to content

Commit 624eaf4

Browse files
committed
Pull Request OpenZWave#844 - Update spec file
1 parent b8db22b commit 624eaf4

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

openzwave.spec

+9-5
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ License: LGPL-2.0+
1111
%else
1212
License: LGPLv2+
1313
%endif
14-
Version: 1.4.0
14+
Version: 1.4.167
1515
Release: 1
1616
BuildRequires: gcc-c++ make libudev-devel doxygen graphviz
1717
%if 0%{?fedora} >= 18
@@ -23,8 +23,9 @@ BuildRequires: systemd-devel pkg-config
2323
BuildRequires: libudev-devel pkgconfig
2424
%endif
2525
%endif
26-
Source0: libopenzwave-%{version}.tar.gz
27-
#Source0: openzwave-%{version}.tar.gz
26+
#Source0: libopenzwave-%{version}.tar.gz
27+
Source0: openzwave-%{version}.tar.gz
28+
2829

2930
BuildRoot: %{_tmppath}/libopenzwave-root
3031

@@ -84,14 +85,16 @@ Sample Executables for OpenZWave
8485

8586
%prep
8687

87-
%setup -q
88+
%setup -q -n openzwave-%{version}
89+
90+
8891

8992

9093
%build
9194
major_ver=$(echo %{version} | awk -F \. {'print $1'})
9295
minor_ver=$(echo %{version} | awk -F \. {'print $2'})
9396
revision=$(echo %{version} | awk -F \. {'print $3'})
94-
VERSION_MAJ=$major_ver VERSION_MIN=$minor_ver VERSION_REV=$revision PREFIX=/usr sysconfdir=%{_sysconfdir}/openzwave/ includedir=%{_includedir} docdir=%{_defaultdocdir}/openzwave-%{version} instlibdir=%{_libdir} make
97+
VERSION_MAJ=$major_ver VERSION_MIN=$minor_ver VERSION_REV=$revision PREFIX=/usr sysconfdir=%{_sysconfdir}/openzwave/ includedir=%{_includedir} docdir=%{_defaultdocdir}/openzwave-%{version} instlibdir=%{_libdir} make %{?_smp_mflags}
9598

9699
%install
97100
rm -rf %{buildroot}/*
@@ -124,6 +127,7 @@ rm -rf %{buildroot}%{_defaultdocdir}/openzwave-%{version}/html/
124127

125128
%files -n libopenzwave-devel
126129
%defattr(-,root,root,-)
130+
%{_bindir}/ozw_config
127131
%{_includedir}/openzwave/
128132
%{_libdir}/libopenzwave.so
129133
%{_libdir}/pkgconfig/libopenzwave.pc

0 commit comments

Comments
 (0)