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