Skip to content

Commit

Permalink
Merge pull request #16 from rhykw/fix-spec-require
Browse files Browse the repository at this point in the history
Move openssl-devel package from Requires section to BuildRequires section
  • Loading branch information
pyama86 authored Apr 3, 2019
2 parents 8f8e1ee + bd689df commit 9e3a5aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rpm/stns.spec
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
Summary: SimpleTomlNameService Nss Module
Name: libnss-stns-v2
Version: 2.3.1
Release: 1
Release: 2
License: GPLv3
URL: https://github.com/STNS/STNS
Source: %{name}-%{version}.tar.gz
Group: System Environment/Base
Packager: pyama86 <www.kazu.com@gmail.com>
%if 0%{?rhel} < 6
Requires: glibc openssl-devel
BuildRequires: gcc make
%if 0%{?rhel} < 7
Requires: glibc openssl
BuildRequires: gcc make openssl-devel
%else
Requires: glibc openssl-devel
BuildRequires: gcc make
Requires: glibc openssl-libs
BuildRequires: gcc make openssl-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: i386, x86_64
Expand Down

0 comments on commit 9e3a5aa

Please sign in to comment.