From 81ecfa5dab5c0e1b18369a0fbac0076ed14786f5 Mon Sep 17 00:00:00 2001 From: Purple Grape Date: Fri, 18 Sep 2020 13:28:31 +0800 Subject: [PATCH] Update smartdns.spec mainly fix BuildRequires now it's possiable to build rpm with the follow commands rpmbuild -ta smartdns-*.tar.gz --- package/redhat/smartdns.spec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/package/redhat/smartdns.spec b/package/redhat/smartdns.spec index b72f88c..e6b9d1f 100644 --- a/package/redhat/smartdns.spec +++ b/package/redhat/smartdns.spec @@ -1,21 +1,23 @@ Name: smartdns -Version: 31 -Release: 1%{?dist} +Version: 1.2020.09.08 +Release: 2235%{?dist} Summary: smartdns License: GPL 3.0 URL: https://github.com/pymumu/smartdns -Source0: smartdns-Release31.tar.gz +Source0: %{name}-%{version}.tar.gz BuildRequires: glibc +BuildRequires: openssl-devel Requires: glibc +Requires: openssl Requires: systemd %description A local DNS server to obtain the fastest website IP for the best Internet experience. %prep -%setup -q -n smartdns-Release31 +%setup -q %build cd src