Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fstrm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Packages
rpms
fstrm
Commits
d6d04703
Commit
d6d04703
authored
Nov 30, 2020
by
Michał Kępień
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop CentOS 6 support
parent
a3bf80c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
fstrm.spec
fstrm.spec
+0
-14
No files found.
fstrm.spec
View file @
d6d04703
...
...
@@ -23,9 +23,7 @@ Release: 4%{?dist}
License: MIT
URL: https://github.com/farsightsec/fstrm
Source0: https://dl.farsightsecurity.com/dist/%{pkg_name}/%{pkg_name}-%{version}.tar.gz
%if 0%{?rhel} != 6
BuildRequires: autoconf automake libtool
%endif
BuildRequires: %{?scl_prefix}libevent-devel
%{?scl:BuildRequires: %{scl}-build}
...
...
@@ -63,7 +61,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The fstrm-devel package contains header files required to build an application
using fstrm library.
%if 0%{?rhel} != 6
%package doc
Summary: API documentation for fstrm library
BuildArch: noarch
...
...
@@ -73,34 +70,27 @@ Requires: %{name} = %{version}-%{release}
%description doc
The fstrm-doc package contains Doxygen generated API documentation for
fstrm library.
%endif
%prep
%setup -q -n %{pkg_name}-%{version}
%if 0%{?rhel} != 6
# regenerated build scripts to:
# - remove RPATHs
# - allow dynamic linking and execution of 'make check'
autoreconf -fi
%endif
%build
%configure --disable-static
make %{?_smp_mflags}
%if 0%{?rhel} != 6
make html
%endif
%install
# install the library
make install DESTDIR=%{buildroot}
rm %{buildroot}%{_libdir}/libfstrm.la
%if 0%{?rhel} != 6
# install documentation
mkdir -p %{buildroot}%{_pkgdocdir}/
cp -ar html %{buildroot}%{_pkgdocdir}/html
%endif
%check
%{?scl:scl enable %scl -- }make check
...
...
@@ -114,9 +104,7 @@ cp -ar html %{buildroot}%{_pkgdocdir}/html
%files
%doc COPYRIGHT LICENSE
%if 0%{?rhel} != 6
%exclude %{_pkgdocdir}/html
%endif
%{_libdir}/libfstrm.so.*
%files utils
...
...
@@ -132,10 +120,8 @@ cp -ar html %{buildroot}%{_pkgdocdir}/html
%{_libdir}/pkgconfig/libfstrm.pc
%{_libdir}/libfstrm.so
%if 0%{?rhel} != 6
%files doc
%doc %{_pkgdocdir}/html
%endif
%changelog
* Tue Sep 15 2020 Petr Menšík <pemensik@redhat.com> - 0.6.0-3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment