Fixed a typo in Python library directory

This commit is contained in:
Denis Arnaud 2019-01-17 22:30:07 +01:00
parent 0f71d2d7b9
commit bf92ee51cc

View File

@ -1,18 +1,20 @@
%global mydocs __tmp_docdir
Name: stdair
Version: 1.00.7
Release: 1%{?dist}
Release: 2%{?dist}
Summary: C++ Standard Airline IT Object Library
Group: System Environment/Libraries
License: LGPLv2+
URL: http://github.com/airsim/%{name}
Source0: https://github.com/airsim/%{name}/archive/%{name}-%{version}.tar.gz
Source0: %{url}/archive/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: cmake, python3-devel
BuildRequires: boost-devel, soci-mysql-devel, soci-sqlite3-devel
BuildRequires: cmake
BuildRequires: python3-devel
BuildRequires: boost-devel
BuildRequires: boost-python3-devel
BuildRequires: soci-mysql-devel
BuildRequires: soci-sqlite3-devel
BuildRequires: readline-devel
@ -30,7 +32,6 @@ modeling, mainly for simulation purpose.
%package devel
Summary: Header files, libraries and development helper tools for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: pkgconfig
@ -41,12 +42,10 @@ programs using %{name}, you will need to install %{name}-devel.
%package doc
Summary: HTML documentation for the %{name} library
Group: Documentation
%if 0%{?fedora} || 0%{?rhel} > 5
BuildArch: noarch
%endif
BuildRequires: tex(latex)
BuildRequires: doxygen, ghostscript
BuildRequires: doxygen
BuildRequires: ghostscript
%description doc
This package contains HTML pages, as well as a PDF reference manual,
@ -60,10 +59,10 @@ online (http://%{name}.org).
%build
%cmake .
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
# Fix some permissions
find $RPM_BUILD_ROOT%{_libexecdir}/%{name} -type f -name '*.sh' -exec chmod +x {} \;
@ -79,12 +78,6 @@ rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/{NEWS,README.md,AUTHORS}
%check
ctest
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc ChangeLog COPYING AUTHORS NEWS README.md
%{_bindir}/%{name}
@ -136,6 +129,9 @@ ctest
%changelog
* Wed Jan 17 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.7-2
- Fixed a typo in Python library directory
* Tue Jan 15 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 1.00.7-1
- Upstream update