rpms/metapost-metauml/F-9 metapost-metauml.spec,1.1,1.2
Ben Boeckel
mathstuf at fedoraproject.org
Sun May 24 16:10:16 UTC 2009
Author: mathstuf
Update of /cvs/pkgs/rpms/metapost-metauml/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23941
Modified Files:
metapost-metauml.spec
Log Message:
Fix up post/postun scripts to run texhash
Index: metapost-metauml.spec
===================================================================
RCS file: /cvs/pkgs/rpms/metapost-metauml/F-9/metapost-metauml.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- metapost-metauml.spec 22 Dec 2008 01:09:22 -0000 1.1
+++ metapost-metauml.spec 24 May 2009 16:09:46 -0000 1.2
@@ -1,6 +1,6 @@
Name: metapost-metauml
Version: 0.2.5
-Release: 3%{?dist}
+Release: 5%{?dist}
Summary: UML in LaTeX/MetaPost
Group: Applications/Publishing
@@ -15,6 +15,8 @@ BuildArch: noarch
BuildRequires: texlive
BuildRequires: sed
Requires: texlive
+Requires(post): %{_bindir}/texhash
+Requires(postnu): %{_bindir}/texhash
%description
MetaUML is a MetaPost library for typesetting UML diagrams.
@@ -35,13 +37,19 @@ popd
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_texmf_main}/metapost/metauml
install -m 644 -p metauml_lib/thrunk/*.mp %{buildroot}/%{_texmf_main}/metapost/metauml
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
+
+
+%post -p %{_bindir}/texhash
+
+
+%postun -p %{_bindir}/texhash
%files
@@ -52,6 +60,13 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Sun May 24 2009 Ben Boeckel <MathStuf at gmail.com> 0.2.5-5
+- Add post/postun to do texhash so it is found
+- Use RPM macro rather than shell-like macro
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.5-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
* Wed Dec 10 2008 Ben Boeckel <MathStuf at gmail.com> 0.2.5-3
- Fixed up URLs
More information about the fedora-extras-commits
mailing list