Commit 218e002b authored by Michał Kępień's avatar Michał Kępień

Modify *.spec to enable building as part of a Software Collection

parent 662d32d1
%bcond_with scl
%if %{with scl}
%global scl isc-bind
%{?scl:%scl_package fstrm}
%{!?scl:%global pkg_name %{name}}
%global _hardened_build 1
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: fstrm
Name: %{?scl_prefix}fstrm
Summary: Frame Streams implementation in C
Version: 0.4.0
Release: 1%{?dist}
Release: 2%{?dist}
License: ASL 2.0
BuildRequires: autoconf automake libtool
BuildRequires: libevent-devel >= 2
BuildRequires: %{?scl_prefix}libevent-devel >= 2
%{?scl:BuildRequires: %{scl}-build}
%{?scl:Requires: %scl_runtime}
Frame Streams is a light weight, binary clean protocol that allows for the
......@@ -28,7 +40,7 @@ The fstrm-devel package contains header files required to build an application
using fstrm library.
%setup -q
%setup -q -n %{pkg_name}-%{version}
# regenerated build scripts to:
# - remove RPATHs
# - allow dynamic linking and execution of 'make check'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment