Skip to content

Commit 401bb5a

Browse files
committed
Update spec file to more modern standards
1 parent 7ec406a commit 401bb5a

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

package.spec.in

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,12 @@ Scripts related to the X11 selection available via xsel(1).
6767

6868

6969
%build
70-
%configure --mandir=%{_mandir}
71-
make %{?_smp_mflags}
70+
%configure
71+
%make_build
7272

7373

7474
%install
75-
rm -rf "%{buildroot}"
76-
make install DESTDIR="%{buildroot}"
75+
%make_install
7776
rm %{buildroot}%{_bindir}/ppp-traffic-analysis.py*
7877
while read file; do
7978
rm "%{buildroot}$file"
@@ -84,10 +83,6 @@ done<<RMXXX
8483
RMXXX
8584

8685

87-
%clean
88-
rm -rf "%{buildroot}"
89-
90-
9186
%files
9287
%defattr(-,root,root,-)
9388
%doc %{_docdir}/*

0 commit comments

Comments
 (0)