[rpmconf] Update rpmconf to 0.3.5-1

Miroslav Suchý msuchy at fedoraproject.org
Thu Jul 25 12:13:37 UTC 2013


commit 1f099b7a353afd6ef5b511c17caa1c452dabb6f1
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Thu Jul 25 14:13:27 2013 +0200

    Update rpmconf to 0.3.5-1

 .gitignore   |    1 +
 rpmconf.spec |   27 ++++++++++++++++++++++++---
 sources      |    2 +-
 3 files changed, 26 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index d33c4ea..a195797 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 rpmconf-0.2.2.tar.gz
 /rpmconf-0.3.3.tar.gz
 /rpmconf-0.3.4.tar.gz
+/rpmconf-0.3.5.tar.gz
diff --git a/rpmconf.spec b/rpmconf.spec
index 0497a6e..3f302b7 100644
--- a/rpmconf.spec
+++ b/rpmconf.spec
@@ -2,7 +2,7 @@ Name: rpmconf
 Summary: Tool to handle rpmnew and rpmsave files
 Group:   Applications/System
 License: GPLv3
-Version: 0.3.4
+Version: 0.3.5
 Release: 1%{?dist}
 URL:     http://wiki.github.com/xsuchy/rpmconf
 Source0: http://cloud.github.com/downloads/xsuchy/rpmconf/%{name}-%{version}.tar.gz
@@ -10,12 +10,22 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 BuildArch: noarch
 BuildRequires: docbook-utils
 BuildRequires: docbook-dtd31-sgml
+Requires: %{name}-base
 
 %description
 This tool search for .rpmnew, .rpmsave and .rpmorig files and ask you what to do
 with them:
 Keep current version, place back old version, watch the diff or merge.
 
+%package base
+Summary: Filesystem for %{name}
+Group: Applications/System
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description base
+Directory hierarchy for installation scripts, which are handled by rpmconf.
+
 %prep
 %setup -q
 
@@ -24,8 +34,10 @@ docbook2man rpmconf.sgml
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -D -m 755 rpmconf $RPM_BUILD_ROOT%{_sbindir}/rpmconf
-install -D -m 644 rpmconf.8 $RPM_BUILD_ROOT%{_mandir}/man8/rpmconf.8
+install -D -m 755 rpmconf %{buildroot}%{_sbindir}/rpmconf
+install -D -m 644 rpmconf.8 %{buildroot}%{_mandir}/man8/rpmconf.8
+
+mkdir %{buildroot}%{_datadir}/rpmconf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -36,7 +48,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/rpmconf.8*
 %doc LICENSE
 
+%files base
+%dir %{_datadir}/rpmconf
+
 %changelog
+* Thu Jul 25 2013 Miroslav Suchý <msuchy at redhat.com> 0.3.5-1
+- add ability to configure packages
+- replace old macro RPM_BUILD_ROOT
+- create subpackage -base which will own /usr/share/rpmconf
+- document ability to handle app configuration
+
 * Mon Jul 15 2013 Miroslav Suchý <miroslav at suchy.cz>
 - When overwriting the current file with an .rpmnew/.rpmsave file, check that
   the copy worked before removing the source file.
diff --git a/sources b/sources
index 476690a..622cb57 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-eda2dccbb7496ccf6ac410e6c8b66a8a  rpmconf-0.3.4.tar.gz
+5102814776e9753a4a3daac2bcf63920  rpmconf-0.3.5.tar.gz


More information about the scm-commits mailing list