]> git.pld-linux.org Git - packages/rpm-build-macros.git/blobdiff - rpm-build-macros.spec
- /dev/null grep errors
[packages/rpm-build-macros.git] / rpm-build-macros.spec
index 7e15d5cf9c9e56550c2f23a93a4eb4de6e8ec848..831b6a0c60b2b6d8f49ca9c7c801b0dd3ebdc736 100644 (file)
@@ -1,12 +1,27 @@
-%define        rpm_macros_rev  1.223
+# NOTE
+%if 0
+- AC-branch is TAG. please move the tag if rebuild needed:
+cvs up -A rpm-macros.spec
+cvs tag -F AC-branch rpm-macros.spec
+./builder -r AC-branch -bb rpm-macros.spec
+%endif
+# TODO
+# - move macros.pld to /usr/lib/rpm, but first need to change rpmmrc
+#   for it to search the macrofile from there.
+# - commit debuginfo.patch to rpm.macros
+%define        rpm_macros_rev  1.248
 Summary:       PLD Linux RPM Macros
+Summary(pl):   Makra RPM dla Linuksa PLD
 Name:          rpm-macros
-Version:       0.1
-Release:       0.2
+Version:       %{rpm_macros_rev}
+Release:       1
 License:       GPL
 Group:         Base
 Source0:       rpm.macros
+Patch0:                %{name}-debuginfo.patch
+Requires:      rpm-build
 Provides:      rpmbuild(macros) = %{rpm_macros_rev}
+Conflicts:     rpm < 4.4.1
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -16,7 +31,16 @@ This package contains rpm macros for PLD Linux.
 Use this package to get newer rpm macros than rpm-build provides
 (perhaps this package will be separated in the future).
 
+%description -l pl
+Ten pakiet zawiera makra rpm-a dla Linuksa PLD.
+
+Mo¿na u¿yæ tego pakietu aby uzyskaæ nowsze makra rpm-a ni¿ dostarcza
+rpm-build (byæ mo¿e ten pakiet zostanie w przysz³o¶ci wydzielony).
+
 %prep
+%setup -q -c -T
+install %{SOURCE0} macros.in
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -24,11 +48,11 @@ install -d $RPM_BUILD_ROOT%{_sysconfdir}/rpm
 sed -e '
 # truncate until %%_topdir macro
 1,/^%%_topdir/d
-' %{SOURCE0} > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/rpm.macros
+' macros.in > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/macros.pld
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/rpm/rpm.macros
+%{_sysconfdir}/rpm/*
This page took 0.237844 seconds and 4 git commands to generate.