Make netdata.spec more futureproof (#5766)
nichivo committed
Apr 2, 2019 at 17:13 UTC
925d5cddd6f3c9899e3ac21aaa32eb47f7ef246b
1 file changed
+3
-3
netdata.spec.in
+3
-3
@@ -81,11 +81,11 @@ Recommends: python2-psycopg2 \
81
82
Summary: Real-time performance monitoring, done right
83
Name: netdata
84
-Version: 1.12.0
84
+Version: @PACKAGE_VERSION@
85
Release: 1%{?dist}
86
License: GPLv3+
87
Group: Applications/System
88
-Source0: https://github.com/netdata/%{name}/releases/download/@PACKAGE_VERSION@/%{name}-@PACKAGE_VERSION@.tar.gz
88
+Source0: https://github.com/netdata/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
89
URL: http://my-netdata.io
90
BuildRequires: pkgconfig
91
BuildRequires: xz
@@ -128,7 +128,7 @@ so that you can get insights of what is happening now and what just
128
happened, on your systems and applications.
129
130
%prep
131
-%setup -q -n @PACKAGE_NAME@-@PACKAGE_VERSION@
131
+%setup -q -n %{name}-%{version}
132
133
%build
134
autoreconf -i