From bf92ee51ccc4b7cb63efe3cc7a04be7aff1465d8 Mon Sep 17 00:00:00 2001 From: Denis Arnaud Date: Thu, 17 Jan 2019 22:30:07 +0100 Subject: [PATCH] Fixed a typo in Python library directory --- stdair.spec | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/stdair.spec b/stdair.spec index e4d8259..fa2ed16 100644 --- a/stdair.spec +++ b/stdair.spec @@ -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 - 1.00.7-2 +- Fixed a typo in Python library directory + * Tue Jan 15 2019 Denis Arnaud - 1.00.7-1 - Upstream update