From 1993350bfa71d4de3117538bea81bad887b6813c66b6496f9ff70e2b5a9de491 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 24 Dec 2020 12:15:30 +0000 Subject: [PATCH] - Specfile modernization OBS-URL: https://build.opensuse.org/package/show/science/gperiodic?expand=0&rev=9 --- gperiodic.changes | 5 +++++ gperiodic.spec | 11 ++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/gperiodic.changes b/gperiodic.changes index 0d81eaf..13fe6e7 100644 --- a/gperiodic.changes +++ b/gperiodic.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 24 12:15:21 UTC 2020 - Jan Engelhardt + +- Specfile modernization + ------------------------------------------------------------------- Mon Dec 16 23:32:07 UTC 2019 - Jan Engelhardt diff --git a/gperiodic.spec b/gperiodic.spec index dae0e66..6896c45 100644 --- a/gperiodic.spec +++ b/gperiodic.spec @@ -1,7 +1,7 @@ # # spec file for package gperiodic # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,6 @@ Group: Productivity/Scientific/Chemistry URL: http://gperiodic.sf.net/ Source: http://download.sf.net/gperiodic/%name-%version.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: fdupes BuildRequires: intltool BuildRequires: pkgconfig(gtk+-2.0) @@ -37,10 +36,10 @@ periodic table. This program also features a non-graphical interface. %lang_package %prep -%setup -q +%autosetup -p1 %build -make %{?_smp_mflags} CFLAGS="%optflags" +%make_build CFLAGS="%optflags" %install %make_install @@ -48,15 +47,13 @@ make %{?_smp_mflags} CFLAGS="%optflags" %fdupes %buildroot/%_prefix %files -%defattr(-,root,root) %_bindir/gperiodic %_mandir/man1/gperiodic* %_datadir/applications/gperiodic* %_datadir/icons/* %_datadir/pixmaps/gperiodic* -%doc gpl.txt +%license gpl.txt %files lang -f %name.lang -%defattr(-,root,root) %changelog